Some convenience options for ISO images

This commit is contained in:
Nicolas Jeannerod 2024-09-26 16:16:38 +00:00 committed by Nicolas “Niols” Jeannerod
parent 54bf518928
commit 5caad04862
Signed by: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -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