🐛 fix hibernate not working
This commit is contained in:
parent
8588090542
commit
82838351bd
2 changed files with 5 additions and 1 deletions
|
@ -49,6 +49,10 @@
|
|||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
console.keyMap = "de";
|
||||
|
||||
# needed for enabling hibernation
|
||||
security.protectKernelImage = false;
|
||||
|
||||
# Powersaving
|
||||
services.tlp.enable = true;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# NOTE Was removed on nixpkgs-unstable because it doesn't do anything
|
||||
# security.hideProcessInformation = true;
|
||||
# Prevent replacing the running kernel w/o reboot
|
||||
security.protectKernelImage = true;
|
||||
security.protectKernelImage = lib.mkDefault true;
|
||||
|
||||
# tmpfs = /tmp is mounted in ram. Doing so makes temp file management speedy
|
||||
# on ssd systems, and volatile! Because it's wiped on reboot.
|
||||
|
|
Loading…
Reference in a new issue