nixos/hardened profile: disable hibernation
Recommended by KSPP
commit1dd3ba924bb7f2ab254b14dcf794651d486db2ae
authorJoachim Fasting <joachifm@fastmail.fm>
dateSun 30 Apr 2017, 11:57 (10 years ago)
parentffa83ed
nixos/modules/profiles/hardened.nix+3
@@ -20,6 +20,9 @@ with lib;
2020
2121 # Disable legacy virtual syscalls
2222 "vsyscall=none"
23+
24+ # Disable hibernation (allows replacing the running kernel)
25+ "nohibernate"
2326 ];
2427
2528 # Restrict ptrace() usage to processes with a pre-defined relationship