diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2024-04-11 17:57:14 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2024-04-11 17:57:14 +0900 |
commit | 07e180ec0ac31dae44a0f54a42792f8863d2b39d (patch) | |
tree | de04ef6147c879a5f94b9fe9fee921d7cd3710d0 | |
parent | 74328e0e0f02891356c6b1673722a3182ebe74ff (diff) | |
download | nixos-conf-07e180ec0ac31dae44a0f54a42792f8863d2b39d.tar.gz |
Disable passwordless sudo
-rw-r--r-- | access.nix | 5 |
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; |