From c3fec61aadff34c067c568dc27858c06a13c66d8 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 4 Dec 2021 21:02:32 +0100 Subject: ma: add more groups to users --- makefu/2configs/filepimp-share.nix | 2 ++ makefu/2configs/lanparty/samba.nix | 2 ++ 2 files changed, 4 insertions(+) (limited to 'makefu') diff --git a/makefu/2configs/filepimp-share.nix b/makefu/2configs/filepimp-share.nix index abbdcbbb2..850d432f3 100644 --- a/makefu/2configs/filepimp-share.nix +++ b/makefu/2configs/filepimp-share.nix @@ -9,7 +9,9 @@ in { uid = config.ids.uids.smbguest; # effectively systemUser description = "smb guest user"; home = "/var/empty"; + group = "share"; }; + users.groups.share = {}; services.samba = { enable = true; shares = { diff --git a/makefu/2configs/lanparty/samba.nix b/makefu/2configs/lanparty/samba.nix index 0bd29497d..e2fa58c4b 100644 --- a/makefu/2configs/lanparty/samba.nix +++ b/makefu/2configs/lanparty/samba.nix @@ -7,7 +7,9 @@ description = "smb guest user"; home = "/data/lanparty"; createHome = true; + group = "share"; }; + users.groups.share = {}; services.samba = { enable = true; enableNmbd = true; -- cgit v1.2.3