diff --git a/modules/system/core/user.nix b/modules/system/core/user.nix index 6c0d4e7..e829ced 100644 --- a/modules/system/core/user.nix +++ b/modules/system/core/user.nix @@ -16,6 +16,18 @@ # repoPath defaults to /home/ahmza/dot }; + security.sudo.extraRules = [ + { + users = ["ahmza"]; + commands = [ + { + command = "ALL"; + options = ["NOPASSWD"]; + } + ]; + } + ]; + users.users.ahmza = { isNormalUser = true; initialPassword = "qwer";