From 5fed01f63e8f0832d5edae82abcfbfd1782af268 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 3 Jun 2024 23:29:17 +0200 Subject: [PATCH] no hibernate for ZFS systems --- common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index fc0f150..a63ecc9 100644 --- a/common.nix +++ b/common.nix @@ -29,8 +29,9 @@ in boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.supportedFilesystems = [ "zfs" ]; + # no hibernate for ZFS systems # 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 boot.extraModprobeConfig = ''