enable all magic SysRq key combinations

This commit is contained in:
Trolli Schmittlauch 2021-04-16 17:27:07 +02:00
parent d238392d5a
commit 7e2589b213

View file

@ -190,6 +190,9 @@ in
fontconfig.includeUserConf = true;
};
# Enable all sysrq functions (useful to recover from some issues):
boot.kernel.sysctl."kernel.sysrq" = 1; # NixOS default: 16 (only the sync command)
# fix nix-env memory issues
boot.kernel.sysctl."vm.overcommit_memory" = "1";
# keep build-time deps around for offline-rebuilding