mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
19 lines
303 B
Nix
19 lines
303 B
Nix
|
lib:
|
||
|
|
||
|
{ system, modules ? [ ] }:
|
||
|
|
||
|
let
|
||
|
cd-minimal = { modulesPath, ... }: {
|
||
|
imports = [
|
||
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
sys = lib.nixosSystem {
|
||
|
inherit system;
|
||
|
modules = [ cd-minimal ] ++ modules;
|
||
|
};
|
||
|
|
||
|
in
|
||
|
sys.config.system.build.isoImage
|