sub-uid/gid are only needed for podman; improve readability
This commit is contained in:
parent
dab1fcd445
commit
a1bc769e9e
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ let
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
name = user.name;
|
name = user.name;
|
||||||
uid = user.id;
|
uid = user.id;
|
||||||
subUidRanges = optional withPodman [{ startUid = 100000; count = 65536; }];
|
subUidRanges = (optional withPodman { startUid = 100000; count = 65536; });
|
||||||
subGidRanges = optional withPodman [{ startGid = 100000; count = 65536; }];
|
subGidRanges = (optional withPodman { startGid = 100000; count = 65536; });
|
||||||
home = builtins.toPath "/home/${user.name}";
|
home = builtins.toPath "/home/${user.name}";
|
||||||
createHome = true;
|
createHome = true;
|
||||||
description = "Administrative user ${user.name}.";
|
description = "Administrative user ${user.name}.";
|
||||||
|
|
Loading…
Reference in a new issue