about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-04-11 17:57:14 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-04-11 17:57:14 +0900
commit07e180ec0ac31dae44a0f54a42792f8863d2b39d (patch)
treede04ef6147c879a5f94b9fe9fee921d7cd3710d0
parent74328e0e0f02891356c6b1673722a3182ebe74ff (diff)
downloadnixos-conf-07e180ec0ac31dae44a0f54a42792f8863d2b39d.tar.gz
Disable passwordless sudo
-rw-r--r--access.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/access.nix b/access.nix
index 2352d08..4bd3915 100644
--- a/access.nix
+++ b/access.nix
@@ -38,10 +38,7 @@ let
     "vnpower"
   ];
 in {
-  security.sudo = {
-    enable = true;
-    wheelNeedsPassword = false;
-  };
+  security.sudo.enable = true;
 
   services.openssh = {
     enable = true;