feat(whitby): Allow wheel users to sudo without a password
This *should* translate to the required invocation to make sudo allow nopasswd for users in the wheel group. Change-Id: I3713862b8df9087cfbaa72d7e824bc43469f7c1c Reviewed-on: https://cl.tvl.fyi/c/depot/+/857 Reviewed-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
6fd3371e94
commit
0d4f709757
1 changed files with 7 additions and 0 deletions
|
@ -156,6 +156,13 @@ in systemForConfig {
|
|||
zfstools
|
||||
];
|
||||
|
||||
security.sudo.extraRules = [
|
||||
{
|
||||
groups = ["wheel"];
|
||||
commands = [{ command = "ALL"; options = ["NOPASSWD"]; }];
|
||||
}
|
||||
];
|
||||
|
||||
users = {
|
||||
users.root.openssh.authorizedKeys.keys = [
|
||||
depot.users.tazjin.keys.frog
|
||||
|
|
Loading…
Reference in a new issue