From 75cf39ee582ffa9c23c5587ebede62e8b0682dad Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 7 Jun 2023 01:59:13 +0200 Subject: [PATCH] Try mapping user ID's for docker/podman. --- config/users.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/users.nix b/config/users.nix index 39403ad..10e6676 100644 --- a/config/users.nix +++ b/config/users.nix @@ -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}.";