ma: add groups to users

This commit is contained in:
makefu 2021-12-04 20:46:47 +01:00
parent 40d315b73a
commit a4bd00deb7
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
4 changed files with 7 additions and 0 deletions

View File

@ -13,7 +13,9 @@
description = "smb guest user";
home = "/home/share";
createHome = true;
group = "smbguest";
};
users.groups.smbguest = {};
services.samba = {
enable = true;
shares = {

View File

@ -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;

View File

@ -24,7 +24,9 @@ in {
inherit home;
createHome = true;
isSystemUser = true;
group = "arafetch";
};
users.groups.arafetch = {};
systemd.services.ara2mqtt = {
startAt = "05:00:00";

View File

@ -51,6 +51,7 @@ let
users.users.ps3netsrv = {
uid = genid "ps3netsrv";
isSystemUser = true;
group = "ps3netsrv";
};
users.groups.ps3netsrv.gid = genid "ps3netsrv";
};