l sync-containers3: fix group
This commit is contained in:
parent
d5a4c2181d
commit
5415114141
@ -247,7 +247,7 @@ in {
|
|||||||
users.groups = lib.mapAttrs' (_: ctr: lib.nameValuePair "${ctr.name}_container" {
|
users.groups = lib.mapAttrs' (_: ctr: lib.nameValuePair "${ctr.name}_container" {
|
||||||
}) cfg.containers;
|
}) cfg.containers;
|
||||||
users.users = lib.mapAttrs' (_: ctr: lib.nameValuePair "${ctr.name}_container" ({
|
users.users = lib.mapAttrs' (_: ctr: lib.nameValuePair "${ctr.name}_container" ({
|
||||||
group = "container_${ctr.name}";
|
group = "${ctr.name}_container";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
uid = slib.genid_uint31 "container_${ctr.name}";
|
uid = slib.genid_uint31 "container_${ctr.name}";
|
||||||
home = "/var/lib/sync-containers3/${ctr.name}";
|
home = "/var/lib/sync-containers3/${ctr.name}";
|
||||||
|
Loading…
Reference in New Issue
Block a user