~ruther/nixos-config

ref: 059298edced90601d6825f13e62b1b320ca1183f nixos-config/nixos/isos/default.nix -rw-r--r-- 792 bytes
059298ed — Frantisek Bohacek chore: adapt to new cursor theme name 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib, inputs }:

let
  depsInjectModule = {
    options.deps-inject.inputs = lib.mkOption { type = with lib.types; attrsOf unspecified; };
    config.deps-inject.inputs = inputs;
  };
  systemModule = system: {
    nixpkgs.hostPlatform = system;
  };

  isos = {
    gnome-install-iso = system: lib.nixosSystem {
      modules = [
        ./gnome-installation.nix
        depsInjectModule
        (systemModule system)
      ];
    };

    # dwl-install-iso = system: lib.nixosSystem {
    #   modules = [
    #     ./dwl-installation.nix
    #     depsInjectModule
    #     (systemModule system)
    #   ];
    # };
  };
  systems = [ "x86_64-linux" "aarch64-linux" ];
in lib.genAttrs systems (system:
  lib.mapAttrs
    (name: iso: ((iso system).config.system.build.isoImage))
    isos
)
Do not follow this link