diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix index 13084b7f082..c7f80fe47aa 100644 --- a/nixos/modules/profiles/hardened.nix +++ b/nixos/modules/profiles/hardened.nix @@ -20,6 +20,9 @@ with lib; # Disable legacy virtual syscalls "vsyscall=none" + + # Disable hibernation (allows replacing the running kernel) + "nohibernate" ]; # Restrict ptrace() usage to processes with a pre-defined relationship