about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 19:40:58 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 19:40:58 -0700
commit4c5a61dc9021ed5fca7ffaf5000abaf66c1b4ea8 (patch)
tree83dac98a2d72cf06a8e1b33de11b685c5bc791b0 /modules
parentrefactor users to a module (diff)
downloadworld-4c5a61dc9021ed5fca7ffaf5000abaf66c1b4ea8.tar.gz
refactor security to a module
Diffstat (limited to 'modules')
-rw-r--r--modules/system/default.nix2
-rw-r--r--modules/system/security/default.nix5
2 files changed, 6 insertions, 1 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix
index 3f7d3ec..d3eea02 100644
--- a/modules/system/default.nix
+++ b/modules/system/default.nix
@@ -1 +1 @@
-{ ... }: { imports = [ ./console ./locale ./nix ./users ]; }
+{ ... }: { imports = [ ./console ./locale ./nix ./users ./security ]; }
diff --git a/modules/system/security/default.nix b/modules/system/security/default.nix
new file mode 100644
index 0000000..9550e8d
--- /dev/null
+++ b/modules/system/security/default.nix
@@ -0,0 +1,5 @@
+{ ... }:
+
+{
+  security.sudo.wheelNeedsPassword = false;
+}