🐛 fix hibernate not working

nixos
Moritz Böhme 2022-04-05 11:11:08 +02:00
parent 8588090542
commit 82838351bd
No known key found for this signature in database
GPG Key ID: 213820E2795F5CF5
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,10 @@
};
time.timeZone = "Europe/Berlin";
console.keyMap = "de";
# needed for enabling hibernation
security.protectKernelImage = false;
# Powersaving
services.tlp.enable = true;

View File

@ -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.