2026-02-06 17:12:02 +01:00
|
|
|
{ pkgs, lib, config, modulesPath, ... }:
|
|
|
|
|
let
|
|
|
|
|
name = config.networking.hostName;
|
|
|
|
|
in
|
|
|
|
|
{
|
2026-02-10 14:59:44 +01:00
|
|
|
networking.hostName = "gotosocial-machine";
|
2026-02-06 17:12:02 +01:00
|
|
|
services.gotosocial = {
|
|
|
|
|
enable = true;
|
|
|
|
|
setupPostgresqlDB = true;
|
|
|
|
|
settings = {
|
2026-02-10 14:59:44 +01:00
|
|
|
application-name = "gotosocial-for-machine";
|
2026-02-06 17:12:02 +01:00
|
|
|
host = "${name}.local";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
dynamicism.for.gotosocial.enable = true;
|
|
|
|
|
}
|