From 80e83424d831b064222229245e9f3a2393e75a20 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Tue, 19 Nov 2024 11:18:56 +0200 Subject: Made wheel group (users who can sudo) not require a password --- hosts/laptop-nixos/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) 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 = [ ... ]; -- cgit v1.3.1