summaryrefslogtreecommitdiff
path: root/hosts/laptop-nixos
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2024-11-19 11:18:56 +0200
committerKyren223 <Kyren223@proton.me>2024-11-19 11:18:56 +0200
commit80e83424d831b064222229245e9f3a2393e75a20 (patch)
tree4a3de66301390d09defed6e5de97edd0aa0af714 /hosts/laptop-nixos
parentb3ba559898293e6537d1b0eafbbbf51e800386e9 (diff)
Made wheel group (users who can sudo) not require a password
Diffstat (limited to 'hosts/laptop-nixos')
-rw-r--r--hosts/laptop-nixos/configuration.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix
index 26437c5..cccef77 100644
--- a/hosts/laptop-nixos/configuration.nix
+++ b/hosts/laptop-nixos/configuration.nix
@@ -119,6 +119,8 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
+ security.sudo.wheelNeedsPassword = false;
+
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];