l power-action: set isNormalUser
This commit is contained in:
parent
9d7abe58bb
commit
6068c4f75b
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user