From a87c54d6ab0044e66f4680331279bf3b978b39f2 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 10 Apr 2023 23:46:46 +0530 Subject: [PATCH] setup security stuff --- system.rico/security.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/system.rico/security.nix b/system.rico/security.nix index dd5eadb..ee815ef 100644 --- a/system.rico/security.nix +++ b/system.rico/security.nix @@ -1,3 +1,15 @@ { ... }: { - security.sudo.wheelNeedsPassword = false; + security = { + apparmor = { + enable = true; + enableCache = true; + }; + audit.enable = true; + auditd.enable = true; + sudo = { + wheelNeedsPassword = false; + }; + polkit.enable = true; + rtkit.enable = true; + }; }