From a1bc769e9ee7b6b70ad1b80b00f0cb15b270c927 Mon Sep 17 00:00:00 2001 From: derped Date: Wed, 14 Jun 2023 21:52:10 +0200 Subject: [PATCH] sub-uid/gid are only needed for podman; improve readability --- config/users.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/users.nix b/config/users.nix index 0182f2b..0fc67aa 100644 --- a/config/users.nix +++ b/config/users.nix @@ -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}.";