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