From fa7a407bda1b26b413702287f227629af0798f55 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 8 Mar 2023 02:57:57 -0500 Subject: another major refactor --- hosts/common/security.nix | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 hosts/common/security.nix (limited to 'hosts/common/security.nix') diff --git a/hosts/common/security.nix b/hosts/common/security.nix deleted file mode 100644 index 260538a..0000000 --- a/hosts/common/security.nix +++ /dev/null @@ -1,23 +0,0 @@ -{wsl, ...}: { - security = { - apparmor.enable = !wsl; - audit.enable = !wsl; - auditd.enable = !wsl; - rtkit.enable = true; - sudo = { - execWheelOnly = true; - extraRules = [ - { - users = ["root"]; - groups = ["root"]; - commands = ["ALL"]; - } - { - users = ["seth"]; - commands = ["ALL"]; - } - ]; - }; - polkit.enable = true; - }; -} -- cgit v1.2.3