diff --git a/settings/users.nix b/settings/users.nix index 0e03e1b..e1acb34 100644 --- a/settings/users.nix +++ b/settings/users.nix @@ -3,6 +3,11 @@ { # Define a user account. Don't forget to set a password with 'passwd'. + security.sudo.extraRules = [{ + users = [ "fred" ]; + commands = [{ command = "ALL"; options = [ "NOPASSWD" ]; }]; + }]; + users.users.fred = { isNormalUser = true; description = "fred";