diff options
Diffstat (limited to 'pkgs/desktops/gnome/installer.nix')
-rw-r--r-- | pkgs/desktops/gnome/installer.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/installer.nix b/pkgs/desktops/gnome/installer.nix new file mode 100644 index 0000000000000..4999e1f3343cf --- /dev/null +++ b/pkgs/desktops/gnome/installer.nix @@ -0,0 +1,15 @@ +{ isoBaseName ? "nixos-graphical-gnome", system ? builtins.currentSystem +, extraModules ? [] }: + +let + + module = ../../../../nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix; + + config = (import ../../../../nixos/lib/eval-config.nix { + inherit system; + modules = [ module { isoImage.isoBaseName = isoBaseName; } ] ++ extraModules; + }).config; + +in + config.system.build.isoImage + |