From a4bd00deb76859c03a8d47d23775c1c4fae27833 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 4 Dec 2021 20:46:47 +0100 Subject: ma: add groups to users --- makefu/2configs/share/temp-share-samba.nix | 2 ++ makefu/2configs/share/wbob.nix | 2 ++ makefu/2configs/stats/arafetch.nix | 2 ++ 3 files changed, 6 insertions(+) (limited to 'makefu/2configs') 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"; -- cgit v1.2.3