summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-06-03 23:29:17 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-06-03 23:29:17 +0200
commit5fed01f63e8f0832d5edae82abcfbfd1782af268 (patch)
tree9ee5be687ce3ed5a18af3f4195c85dc31c784ea7 /common.nix
parent97019fee71f269fd705eb473055eb2ff79284378 (diff)
no hibernate for ZFS systems
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix3
1 files changed, 2 insertions, 1 deletions
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 = ''