1
0
Fork 0

Try mapping user ID's for docker/podman.

This commit is contained in:
Kevin Baensch 2023-06-07 01:59:13 +02:00
parent 2b58463f3f
commit 75cf39ee58
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 2 additions and 0 deletions

View File

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