kyra(hardening): security defaults init
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
ff98be13a3
commit
d5d41960f4
1 changed files with 13 additions and 0 deletions
13
kyra/security/defaults.nix
Normal file
13
kyra/security/defaults.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
_: {
|
||||||
|
security = {
|
||||||
|
unprivilegedUsernsClone = false;
|
||||||
|
forcePageTableIsolation = true;
|
||||||
|
allowSimultaneousMultithreading = false;
|
||||||
|
protectKernelImage = true;
|
||||||
|
lockKernelModules = true;
|
||||||
|
|
||||||
|
virtualisation = {
|
||||||
|
flushL1DataCache = "always";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue