depot/third_party/nixpkgs/pkgs/desktops/gnome/installer.nix

15 lines
404 B
Nix

{ 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