This commit is contained in:
2025-12-01 09:14:07 +00:00
parent 67e65a8c9d
commit 007c8bc9c1
16 changed files with 82 additions and 71 deletions

View File

@@ -28,23 +28,25 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
isoImage =
image =
let
vsn = "${config.system.nixos.release}${lib.trivial.versionSuffix}";
in
{
isoName = "toolshed-${vsn}.iso";
# as of writing zstd -19 reduces toolshed from 9.1G to 8.6G, but takes
# ~30min on fwminex, as opposed to ~10m with default settings. xz also
# yields 8.6G.
#squashfsCompression = "zstd -Xcompression-level 19";
squashfsCompression = "zstd";
appendToMenuLabel = " Toolshed ${vsn}";
makeEfiBootable = true; # EFI booting
makeUsbBootable = true; # USB booting
fileName = "toolshed-${vsn}.iso";
};
isoImage = {
# as of writing zstd -19 reduces toolshed from 9.1G to 8.6G, but takes
# ~30min on fwminex, as opposed to ~10m with default settings. xz also
# yields 8.6G.
#squashfsCompression = "zstd -Xcompression-level 19";
squashfsCompression = "zstd";
appendToMenuLabel = " Toolshed ${config.system.nixos.release}${lib.trivial.versionSuffix}";
makeEfiBootable = true; # EFI booting
makeUsbBootable = true; # USB booting
};
swapDevices = [ ];
services = {