summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-06-03 21:33:42 +0200
committerlassulus <lassulus@lassul.us>2021-06-03 21:33:42 +0200
commit6068c4f75ba4a371841c22581c022bcf930cc964 (patch)
treeb724d00405d9b1f364cfd581a4c3019606b547ee /lass/2configs
parent9d7abe58bb842ef59d5a1132ac1d3c4c9eaac98d (diff)
l power-action: set isNormalUser
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/power-action.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/lass/2configs/power-action.nix b/lass/2configs/power-action.nix
index c7bdb525d..648ffc784 100644
--- a/lass/2configs/power-action.nix
+++ b/lass/2configs/power-action.nix
@@ -32,9 +32,12 @@ in {
user = "lass";
};
- users.users.power-action.extraGroups = [
- "audio"
- ];
+ users.users.power-action = {
+ isNormalUser = true;
+ extraGroups = [
+ "audio"
+ ];
+ };
security.sudo.extraConfig = ''
${config.krebs.power-action.user} ALL= (root) NOPASSWD: ${suspend}