mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
16 lines
404 B
Nix
16 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
|
||
|
|