summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-08 15:58:45 +0200
committerSilas Schöffel <sils@sils.li>2024-04-08 15:58:45 +0200
commit35da9740509934077c7ded66a1157377abedd2e1 (patch)
tree0da35804351746c00edce7717eb9f164757d4adf /sys
parentnetworking: disable Ipv6 (diff)
downloadnix-config-35da9740509934077c7ded66a1157377abedd2e1.tar.gz
nix-config-35da9740509934077c7ded66a1157377abedd2e1.zip
refactor: move sudo to modules
Diffstat (limited to 'sys')
-rw-r--r--sys/security/default.nix1
-rw-r--r--sys/security/sudo/default.nix8
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/security/default.nix b/sys/security/default.nix
index 4145d1d..234bf6d 100644
--- a/sys/security/default.nix
+++ b/sys/security/default.nix
@@ -2,6 +2,5 @@
   imports = [
     ./pam
     ./rtkit
-    ./sudo
   ];
 }
diff --git a/sys/security/sudo/default.nix b/sys/security/sudo/default.nix
deleted file mode 100644
index 3dfd79d..0000000
--- a/sys/security/sudo/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{...}: {
-  security.sudo = {
-    enable = true;
-    extraConfig = ''
-      Defaults lecture = never
-    '';
-  };
-}