diff options
author | Azat Bahawi <azat@bahawi.net> | 2024-05-25 22:16:47 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2024-05-25 22:16:47 +0300 |
commit | 364e8a98ad25127f2a51696ec03729e3a783044f (patch) | |
tree | 1ac46553d1dca1259da539eddc7db100eaf5c137 /modules/common/security.nix | |
parent | 2024-05-05 (diff) |
2024-05-25
Diffstat (limited to '')
-rw-r--r-- | modules/common/security.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/common/security.nix b/modules/common/security.nix index c635cdc..acfc9cc 100644 --- a/modules/common/security.nix +++ b/modules/common/security.nix @@ -1,13 +1,6 @@ _: { security = { - sudo = { - enable = true; - execWheelOnly = true; - wheelNeedsPassword = false; - extraConfig = '' - Defaults lecture=never - ''; - }; + sudo.wheelNeedsPassword = false; polkit = { enable = true; @@ -24,8 +17,5 @@ _: { }); ''; }; - - # Pretty much used only for PipeWire. - rtkit.enable = true; }; } |