enable all magic SysRq key combinations
This commit is contained in:
parent
d238392d5a
commit
7e2589b213
|
@ -190,6 +190,9 @@ in
|
||||||
fontconfig.includeUserConf = true;
|
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
|
# fix nix-env memory issues
|
||||||
boot.kernel.sysctl."vm.overcommit_memory" = "1";
|
boot.kernel.sysctl."vm.overcommit_memory" = "1";
|
||||||
# keep build-time deps around for offline-rebuilding
|
# keep build-time deps around for offline-rebuilding
|
||||||
|
|
Loading…
Reference in a new issue