l 2 power-action: reflect api change
This commit is contained in:
parent
35f0b5a223
commit
127b8c0989
@ -29,6 +29,7 @@ in {
|
||||
/var/setuid-wrappers/sudo ${suspend}
|
||||
'';
|
||||
};
|
||||
user = "lass";
|
||||
};
|
||||
|
||||
users.users.power-action.extraGroups = [
|
||||
@ -36,6 +37,6 @@ in {
|
||||
];
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
${config.krebs.power-action.user.name} ALL= (root) NOPASSWD: ${suspend}
|
||||
${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend}
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user