dynix/tests/gotosocial/configuration.nix

22 lines
460 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2026 Qyriad <qyriad@qyriad.me>
#
# SPDX-License-Identifier: EUPL-1.1
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;
}