From 69a316758bd8c70c620cb28492dbf4c74330c5c6 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 5 Oct 2024 17:21:18 +0530 Subject: [PATCH] skipper: polkit/sudo shenanigans --- hosts/skipper/security.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/skipper/security.nix b/hosts/skipper/security.nix index 6bc75cc..3c1c06e 100644 --- a/hosts/skipper/security.nix +++ b/hosts/skipper/security.nix @@ -14,9 +14,13 @@ }; }; }; - polkit.enable = true; + polkit = { + enable = true; + adminIdentities = [ "unix-group:wheel" ]; + }; rtkit.enable = true; sudo = { + enable = true; package = pkgs.sudo.override { withInsults = true; }; extraConfig = '' Defaults lecture="never"