use zfs-supporting kernel

compress-drv-tests
Motiejus Jakštys 2023-04-08 15:53:03 +03:00
parent 032aaf4514
commit a828ba26b6
1 changed files with 1 additions and 3 deletions

View File

@ -57,10 +57,8 @@ let
nixpkgs.config = { allowBroken = true; };
isoImage.isoBaseName = lib.mkForce "nixos-yubikey";
# Uncomment this to disable compression and speed up image creation time
#isoImage.squashfsCompression = "gzip -Xcompression-level 1";
boot.kernelPackages = linuxPackages_latest;
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
# Always copytoram so that, if the image is booted from, e.g., a
# USB stick, nothing is mistakenly written to persistent storage.
boot.kernelParams = [ "copytoram" ];