From befdc89ae2aefb4d28a354cf40dd64bd4a7ff829 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Wed, 16 Oct 2024 15:26:56 +0200 Subject: [PATCH] fix all apparmor profiles just being complain mode --- common/tooling/apparmor/apparmor-d-package.nix | 2 +- common/tooling/apparmor/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/tooling/apparmor/apparmor-d-package.nix b/common/tooling/apparmor/apparmor-d-package.nix index ab9a6aa..aa2f084 100644 --- a/common/tooling/apparmor/apparmor-d-package.nix +++ b/common/tooling/apparmor/apparmor-d-package.nix @@ -29,7 +29,7 @@ buildGoModule { postInstall = '' mkdir -p $out/etc - DISTRIBUTION=arch $out/bin/prebuild --complain --abi 4 # fixme: replace with nixos support once available + DISTRIBUTION=arch $out/bin/prebuild --abi 4 # fixme: replace with nixos support once available mv .build/apparmor.d $out/etc rm $out/bin/prebuild diff --git a/common/tooling/apparmor/default.nix b/common/tooling/apparmor/default.nix index 46c8a93..e0ac269 100644 --- a/common/tooling/apparmor/default.nix +++ b/common/tooling/apparmor/default.nix @@ -16,7 +16,7 @@ in security.auditd.enable = true; security.apparmor.enable = true; -# security.apparmor.enableCache = true; + security.apparmor.enableCache = true; security.apparmor_d = { enable = true;