summaryrefslogtreecommitdiff
path: root/modules/common/security.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-25 22:16:47 +0300
commit364e8a98ad25127f2a51696ec03729e3a783044f (patch)
tree1ac46553d1dca1259da539eddc7db100eaf5c137 /modules/common/security.nix
parente2f999ec2a3dd7e9a52c7e2fadfe96976b5aee53 (diff)
2024-05-25
Diffstat (limited to 'modules/common/security.nix')
-rw-r--r--modules/common/security.nix12
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;
};
}