global(fs): set kernel version when zfs is selected

This commit is contained in:
514fpv 2024-01-11 12:24:14 +08:00
parent 12c0e6b80a
commit 66ef95b2bc
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -40,5 +40,6 @@ in {
services.zfs.autoSnapshot.enable = true;
services.zfs.autoScrub.enable = true;
boot.zfs.devNodes = mkDefault "/dev/disk/by-partuuid";
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
};
}