dynix/tests/gotosocial/configuration.nix

21 lines
460 B
Nix

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