diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix index a01d974446b..ae0a42e8dee 100644 --- a/nixos/modules/profiles/hardened.nix +++ b/nixos/modules/profiles/hardened.nix @@ -8,6 +8,8 @@ with lib; { security.hideProcessInformation = mkDefault true; + security.lockKernelModules = mkDefault true; + security.apparmor.enable = mkDefault true; boot.kernelParams = [