diff --git a/hosts/nixos-laptop/default.nix b/hosts/nixos-laptop/default.nix index 93be824..776b77e 100644 --- a/hosts/nixos-laptop/default.nix +++ b/hosts/nixos-laptop/default.nix @@ -49,6 +49,10 @@ }; time.timeZone = "Europe/Berlin"; + console.keyMap = "de"; + + # needed for enabling hibernation + security.protectKernelImage = false; # Powersaving services.tlp.enable = true; diff --git a/modules/security.nix b/modules/security.nix index a00f632..26e16f4 100644 --- a/modules/security.nix +++ b/modules/security.nix @@ -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.