diff options
| author | seth <[email protected]> | 2023-01-26 06:08:41 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-01-26 06:08:41 -0500 |
| commit | 08895833e51bdfd760f2b4915a3997c13fe65b13 (patch) | |
| tree | 76e0ec29dea51c9a0aa0502cf8e87eadc71dd3ec /hosts/common/security.nix | |
| parent | 43bf016d0fb5b3b2db796fdc37abf243f1223df1 (diff) | |
more refactoring
Diffstat (limited to 'hosts/common/security.nix')
| -rw-r--r-- | hosts/common/security.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/common/security.nix b/hosts/common/security.nix index 32c2ff5..04ae595 100644 --- a/hosts/common/security.nix +++ b/hosts/common/security.nix @@ -1,8 +1,10 @@ -_: { +{config, ...}: let + value = config.sys.wsl.enable; +in { security = { - apparmor.enable = true; - audit.enable = true; - auditd.enable = true; + apparmor.enable = value; + audit.enable = value; + auditd.enable = value; rtkit.enable = true; sudo = { configFile = '' |
