shack: set groups for created users
demanded by 21.11 to set the group
This commit is contained in:
parent
da6d3992cf
commit
2d3a292ea0
@ -15,7 +15,9 @@ in {
|
|||||||
inherit home;
|
inherit home;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
group = "muell_mail";
|
||||||
};
|
};
|
||||||
|
users.groups.muell_mail = {};
|
||||||
systemd.services.muell_mail = {
|
systemd.services.muell_mail = {
|
||||||
description = "muell_mail";
|
description = "muell_mail";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
@ -16,7 +16,9 @@ in {
|
|||||||
inherit home;
|
inherit home;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
group = "muellshack";
|
||||||
};
|
};
|
||||||
|
users.groups.muellshack = {};
|
||||||
services.nginx.virtualHosts."muell.shack" = {
|
services.nginx.virtualHosts."muell.shack" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${port}/muellshack/";
|
proxyPass = "http://localhost:${port}/muellshack/";
|
||||||
|
@ -17,7 +17,9 @@ in {
|
|||||||
inherit home;
|
inherit home;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
group = "node-light";
|
||||||
};
|
};
|
||||||
|
users.groups.node-light = {};
|
||||||
services.nginx.virtualHosts."lounge.light.shack" = {
|
services.nginx.virtualHosts."lounge.light.shack" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${port}/lounge/";
|
proxyPass = "http://localhost:${port}/lounge/";
|
||||||
|
@ -19,7 +19,9 @@ in {
|
|||||||
users.users.powermeter = {
|
users.users.powermeter = {
|
||||||
extraGroups = [ "dialout" ];
|
extraGroups = [ "dialout" ];
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
group = "powermeter";
|
||||||
};
|
};
|
||||||
|
users.groups.powermeter = {};
|
||||||
|
|
||||||
# we make sure that usb-ttl has the correct permissions
|
# we make sure that usb-ttl has the correct permissions
|
||||||
# creates /dev/powerraw
|
# creates /dev/powerraw
|
||||||
|
@ -16,7 +16,9 @@ in {
|
|||||||
inherit home;
|
inherit home;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
group = "s3_power";
|
||||||
};
|
};
|
||||||
|
users.groups.shackDNS = {};
|
||||||
systemd.services.s3-power = {
|
systemd.services.s3-power = {
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
description = "s3-power";
|
description = "s3-power";
|
||||||
|
@ -30,9 +30,11 @@ in {
|
|||||||
|
|
||||||
users.users.shackDNS = {
|
users.users.shackDNS = {
|
||||||
inherit home;
|
inherit home;
|
||||||
|
group = "nogroup";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
users.groups.shackDNS = {};
|
||||||
services.nginx.virtualHosts."leases.shack" = {
|
services.nginx.virtualHosts."leases.shack" = {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:${port}/";
|
proxyPass = "http://localhost:${port}/";
|
||||||
|
Loading…
Reference in New Issue
Block a user