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

This commit is contained in:
514fpv 2024-01-11 12:24:14 +08:00
parent 8245be2cde
commit 55435e6da6
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;
};
}