Compare commits

..

No commits in common. "fcabd95e7e8cab7b982685a7f5c09a0970e30b3e" and "1fb99ab958d95beb545e0bafbb12065ce02f56fb" have entirely different histories.

View file

@ -19,7 +19,6 @@ in {
httpPort = 3002; # Provided unique port httpPort = 3002; # Provided unique port
rootUrl = "https://reciproka.dev/"; # Root web URL rootUrl = "https://reciproka.dev/"; # Root web URL
settings = let settings = let
DEFAULT.APP_NAME = "Reciproka Kolektivo: Forgejo Service"; # Give the site a name
server = { server = {
DOMAIN = "reciproka.dev"; # Domain name DOMAIN = "reciproka.dev"; # Domain name
HTTP_PORT = 3002; # Provided unique port HTTP_PORT = 3002; # Provided unique port
@ -74,7 +73,11 @@ in {
ensureUsers = [ ensureUsers = [
{ {
name = "forgejo"; # Ensure the database user persists name = "forgejo"; # Ensure the database user persists
ensureDBOwnership = true; ensurePermissions = {
# Ensure the database permissions persist
"DATABASE forgejo" = "ALL PRIVILEGES";
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
} }
]; ];
package = pkgs.postgresql_16; package = pkgs.postgresql_16;