15 lines
340 B
Nix
15 lines
340 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
...
|
||
|
}: {
|
||
|
security.protectKernelImage = lib.mkDefault true;
|
||
|
security.forcePageTableIsolation = lib.mkDefault true;
|
||
|
|
||
|
security.polkit.enable = lib.mkDefault true;
|
||
|
security.apparmor.enable = lib.mkDefault true;
|
||
|
|
||
|
security.sudo.enable = lib.mkDefault true;
|
||
|
security.sudo.wheelNeedsPassword = lib.mkDefault false;
|
||
|
}
|