summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-12-04 20:46:47 +0100
committermakefu <github@syntax-fehler.de>2021-12-04 20:46:47 +0100
commita4bd00deb76859c03a8d47d23775c1c4fae27833 (patch)
treeb5068b75cd2d7eaaf656a5ca3f54ba96061dcaee
parent40d315b73a0842ffdc76d3508e2446aa3059f78b (diff)
ma: add groups to users
-rw-r--r--makefu/2configs/share/temp-share-samba.nix2
-rw-r--r--makefu/2configs/share/wbob.nix2
-rw-r--r--makefu/2configs/stats/arafetch.nix2
-rw-r--r--makefu/3modules/ps3netsrv.nix1
4 files changed, 7 insertions, 0 deletions
diff --git a/makefu/2configs/share/temp-share-samba.nix b/makefu/2configs/share/temp-share-samba.nix
index 56beb5b42..bcfddc112 100644
--- a/makefu/2configs/share/temp-share-samba.nix
+++ b/makefu/2configs/share/temp-share-samba.nix
@@ -13,7 +13,9 @@
description = "smb guest user";
home = "/home/share";
createHome = true;
+ group = "smbguest";
};
+ users.groups.smbguest = {};
services.samba = {
enable = true;
shares = {
diff --git a/makefu/2configs/share/wbob.nix b/makefu/2configs/share/wbob.nix
index f2c36b551..9e5f8ddf5 100644
--- a/makefu/2configs/share/wbob.nix
+++ b/makefu/2configs/share/wbob.nix
@@ -7,7 +7,9 @@
description = "smb guest user";
home = "/home/share";
createHome = true;
+ group = "smbguest";
};
+ users.groups.smbguest = {};
users.groups.mpd.members = [ "makefu" ];
services.samba = {
enable = true;
diff --git a/makefu/2configs/stats/arafetch.nix b/makefu/2configs/stats/arafetch.nix
index c8ccbfbb9..0ea05e779 100644
--- a/makefu/2configs/stats/arafetch.nix
+++ b/makefu/2configs/stats/arafetch.nix
@@ -24,7 +24,9 @@ in {
inherit home;
createHome = true;
isSystemUser = true;
+ group = "arafetch";
};
+ users.groups.arafetch = {};
systemd.services.ara2mqtt = {
startAt = "05:00:00";
diff --git a/makefu/3modules/ps3netsrv.nix b/makefu/3modules/ps3netsrv.nix
index 30070430c..bb2abd9a5 100644
--- a/makefu/3modules/ps3netsrv.nix
+++ b/makefu/3modules/ps3netsrv.nix
@@ -51,6 +51,7 @@ let
users.users.ps3netsrv = {
uid = genid "ps3netsrv";
isSystemUser = true;
+ group = "ps3netsrv";
};
users.groups.ps3netsrv.gid = genid "ps3netsrv";
};