Add mkUserMap

This commit is contained in:
niten 2023-08-28 18:45:39 -07:00
parent ddb091ed17
commit a122fda891
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ let
mapAttrsToList (var: val: ''${var}="${toString val}"'') envVars;
in pkgs.writeText "envFile" (concatStringsSep "\n" envLines);
mkUserMap = uid: "${toString uid}:${toString uid}";
postgresPasswdFile =
pkgs.lib.passwd.stablerandom-passwd-file "authentik-postgresql-passwd"
config.instance.build-seed;