From a828ba26b645f570fde3d07e9b013d8e564f9076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sat, 8 Apr 2023 15:53:03 +0300 Subject: [PATCH] use zfs-supporting kernel --- yubikey-installer.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yubikey-installer.nix b/yubikey-installer.nix index 1e4e956..2127c90 100644 --- a/yubikey-installer.nix +++ b/yubikey-installer.nix @@ -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" ];