Disable postgres on bekkalokk
#106
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
lmao
Disable postgres on bekkalokkto Disable postgres on `bekkalokk`The correct way to fix this would be to open a PR that fixes this assumption:
f008a5b261/nixos/modules/services/misc/gitea.nix (L472-L481)
Yes, we'd like the module to create the database if it doesn't exist, yes we'd like to use postgres, no we're not using it on the same machine.
The quick and dirty way would be
services.postgresql.enable = lib.mkForce false;
I think the nixos-module behavior is correct, we should be setting
createDatabase = false
ensureUsers
and siblings obviously won't work with an external database.An upstream PR could add an assertion or set a more reasonable default than
true
when database-settings are set thoughEDIT: But we do set
createDatabase = false
wtf?postgresql is enabled in roundcube lol