Some convenience options for ISO images
This commit is contained in:
parent
54bf518928
commit
5caad04862
|
@ -25,6 +25,12 @@ nixpkgs: machine:
|
|||
programs.bash.loginShellInit = ''
|
||||
${nixpkgs.lib.getExe bootstrap}
|
||||
'';
|
||||
|
||||
isoImage = {
|
||||
compressImage = false;
|
||||
squashfsCompression = "gzip -Xcompression-level 1";
|
||||
isoName = lib.mkForce "installer.iso";
|
||||
};
|
||||
};
|
||||
in
|
||||
(nixpkgs.lib.nixosSystem { modules = [installer];}).config.system.build.isoImage
|
||||
|
|
Reference in a new issue