dynix/tests/gotosocial/configuration.nix
2026-02-13 20:47:30 +01:00

17 lines
364 B
Nix

{ pkgs, lib, config, modulesPath, ... }:
let
name = config.networking.hostName;
in
{
networking.hostName = "gotosocial-machine";
services.gotosocial = {
enable = true;
setupPostgresqlDB = true;
settings = {
application-name = "gotosocial-for-machine";
host = "${name}.local";
};
};
dynamicism.for.gotosocial.enable = true;
}