mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
18 lines
303 B
Nix
18 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
|