1
0
Fork 0

sub-uid/gid are only needed for podman; improve readability

This commit is contained in:
Kevin Baensch 2023-06-14 21:52:10 +02:00
parent dab1fcd445
commit a1bc769e9e
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ let
isNormalUser = true;
name = user.name;
uid = user.id;
subUidRanges = optional withPodman [{ startUid = 100000; count = 65536; }];
subGidRanges = optional withPodman [{ startGid = 100000; count = 65536; }];
subUidRanges = (optional withPodman { startUid = 100000; count = 65536; });
subGidRanges = (optional withPodman { startGid = 100000; count = 65536; });
home = builtins.toPath "/home/${user.name}";
createHome = true;
description = "Administrative user ${user.name}.";