Compare commits
2 commits
1fb99ab958
...
fcabd95e7e
Author | SHA1 | Date | |
---|---|---|---|
fcabd95e7e | |||
3662f9f588 |
|
@ -19,6 +19,7 @@ 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
|
||||||
|
@ -73,11 +74,7 @@ in {
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "forgejo"; # Ensure the database user persists
|
name = "forgejo"; # Ensure the database user persists
|
||||||
ensurePermissions = {
|
ensureDBOwnership = true;
|
||||||
# Ensure the database permissions persist
|
|
||||||
"DATABASE forgejo" = "ALL PRIVILEGES";
|
|
||||||
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
package = pkgs.postgresql_16;
|
package = pkgs.postgresql_16;
|
||||||
|
|
Loading…
Reference in a new issue