summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/shack/powerraw.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 20:04:25 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 20:04:37 +0100
commit2d3a292ea0cfd7ca2015c8794d262ff588225662 (patch)
tree20ffe874dde6caa2d6a1e01d8fa5915d838fcd62 /krebs/2configs/shack/powerraw.nix
parentda6d3992cfa6aedbd868e8cc7df1213107b0f8a5 (diff)
shack: set groups for created users
demanded by 21.11 to set the group
Diffstat (limited to 'krebs/2configs/shack/powerraw.nix')
-rw-r--r--krebs/2configs/shack/powerraw.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/2configs/shack/powerraw.nix b/krebs/2configs/shack/powerraw.nix
index 64e1911cf..79ba567b6 100644
--- a/krebs/2configs/shack/powerraw.nix
+++ b/krebs/2configs/shack/powerraw.nix
@@ -19,7 +19,9 @@ in {
users.users.powermeter = {
extraGroups = [ "dialout" ];
isSystemUser = true;
+ group = "powermeter";
};
+ users.groups.powermeter = {};
# we make sure that usb-ttl has the correct permissions
# creates /dev/powerraw