l power-action: set isNormalUser

This commit is contained in:
lassulus 2021-06-03 21:33:42 +02:00
parent 9d7abe58bb
commit 6068c4f75b

View File

@ -32,9 +32,12 @@ in {
user = "lass"; user = "lass";
}; };
users.users.power-action.extraGroups = [ users.users.power-action = {
"audio" isNormalUser = true;
]; extraGroups = [
"audio"
];
};
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend} ${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend}