massicot: passwordless sudo for user xin

This commit is contained in:
xinyangli 2023-11-15 08:10:35 +00:00
parent add25d866d
commit 56e67018d6
2 changed files with 7 additions and 2 deletions

View file

@ -45,5 +45,11 @@
];
hashedPassword = "$y$j9T$JOJn97hZndiDamUmmT.iq.$ue7gNZz/b14ur8GhyutOCvFjsv.3rcsHmk7m.WRk6u7";
};
security.sudo.extraRules = [
{ users = [ "xin" ];
commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ];
}
];
}