no hibernate for ZFS systems

This commit is contained in:
Christoph Cullmann 2024-06-03 23:29:17 +02:00
parent 97019fee71
commit 5fed01f63e

View file

@ -29,8 +29,9 @@ in
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
# no hibernate for ZFS systems
# don't check for split locks, for KVM and Co. # don't check for split locks, for KVM and Co.
boot.kernelParams = [ "split_lock_detect=off" ]; boot.kernelParams = [ "nohibernate" "split_lock_detect=off" ];
# tweak ZFS # tweak ZFS
boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''