aboutsummaryrefslogtreecommitdiff
path: root/modules/doas.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/doas.nix')
-rw-r--r--modules/doas.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/doas.nix b/modules/doas.nix
deleted file mode 100644
index 5a99756..0000000
--- a/modules/doas.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- config,
- lib,
- options,
- pkgs,
- ...
-}:
-{
- security = {
- doas.extraRules = [
- {
- groups = [ "wheel" ];
- }
- {
- cmd = "mount";
- groups = [ "wheel" ];
- noPass = true;
- }
- ];
-
- sudo.enable = lib.mkDefault (!config.security.doas.enable);
- };
-}