base/hardening: move hardening options from base/default

This commit is contained in:
h7x4
2026-05-08 16:17:23 +09:00
parent 86ca8dcdc3
commit baeb1e5e60
2 changed files with 3 additions and 2 deletions

View File

@@ -71,8 +71,6 @@
fi
'';
# security.lockKernelModules = true;
security.protectKernelImage = true;
security.sudo.execWheelOnly = true;
security.sudo.extraConfig = ''
Defaults lecture = never

View File

@@ -58,4 +58,7 @@
"nfc"
"soundwire"
];
# security.lockKernelModules = true;
security.protectKernelImage = true;
}