This commit is contained in:
Reid 2024-12-08 18:39:26 -08:00
parent 5030dcf3b6
commit 2232ad3f31
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
12 changed files with 31 additions and 28 deletions

View file

@ -9,10 +9,10 @@ in {
};
config = mkIf cfg.enable {
boot = {
tmp.useTmpfs = lib.mkDefault true;
tmp.cleanOnBoot = lib.mkDefault (!config.boot.tmp.useTmpfs);
boot = {
tmp.useTmpfs = lib.mkDefault true;
tmp.cleanOnBoot = lib.mkDefault (!config.boot.tmp.useTmpfs);
kernel.sysctl = {
# magic sysrq key, allows low-level commands through keyboard input
"kernel.sysrq" = 0;