From d13962a7d9083c853911d3142bc64aceabf7856b Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 19 May 2025 10:01:20 +0800 Subject: [PATCH] feat(modules/system/users): disable sudo auth --- modules/nixos/system/users.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/system/users.nix b/modules/nixos/system/users.nix index de5bfbd..dad4def 100644 --- a/modules/nixos/system/users.nix +++ b/modules/nixos/system/users.nix @@ -16,6 +16,7 @@ openssh.authorizedKeys.keys = [ config.system.mainUser.publicKey ]; }; services.getty.autologinUser = config.system.mainUser.name; + security.sudo.wheelNeedsPassword = false; } ]; }