l 2 power-action: reflect api change

This commit is contained in:
lassulus 2016-08-02 15:00:15 +02:00
parent 35f0b5a223
commit 127b8c0989

View File

@ -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}
'';
}