whooops forgor

This commit is contained in:
zack 2024-10-21 20:14:21 -04:00
parent c0d6ee9e8b
commit 52506df236
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -124,17 +124,11 @@
];
# Ensure database user exists
services.postgresql.ensureUsers = let
userAttrs = {
services.postgresql.ensureUsers = [
{
name = cfg.phx.database.user;
ensureDBOwnership = true;
};
userWithPassword =
if cfg.phx.database.passwordFile != null
then userAttrs // {passwordFile = cfg.phx.database.passwordFile;}
else userAttrs;
in [
userWithPassword
}
];
systemd.services."zoeyscomputer-phx" = let