nix-config/modules/services/firefly.nix
2024-04-02 21:57:59 +02:00

21 lines
597 B
Nix

{config, ...}: {
imports = [../fireflyIII.nix];
wireguard.elisabeth = {
client.via = "elisabeth";
firewallRuleForNode.elisabeth.allowedTCPPorts = [80];
};
services.firefly-iii = {
enable = true;
virtualHost = "money.${config.secrets.secrets.global.domains.web}";
settings = {
APP_URL = "https://money.${config.secrets.secrets.global.domains.web}";
TZ = "Europe/Berlin";
TRUSTED_PROXIES = "**";
SITE_OWNER = "firefly-admin@${config.secrets.secrets.global.domains.mail_public}";
APP_KEY = "ctiectiectiectctiectiectiectieie";
};
};
}