summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-08-02 15:00:15 +0200
committerlassulus <lass@aidsballs.de>2016-08-02 15:00:15 +0200
commit127b8c0989f1dc71313af67fb5e69c709df019f3 (patch)
tree3d4235d6211ed83c768d64acecaa84709df0bd4f /lass/2configs
parent35f0b5a22326fa67016a112ab78ffeaf55da4cef (diff)
l 2 power-action: reflect api change
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/power-action.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lass/2configs/power-action.nix b/lass/2configs/power-action.nix
index 133966498..c83dc80dc 100644
--- a/lass/2configs/power-action.nix
+++ b/lass/2configs/power-action.nix
@@ -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}
'';
}