nix-config/modules/services/firefly.nix

25 lines
641 B
Nix
Raw Normal View History

2024-04-05 13:31:30 +02:00
{
config,
lib,
...
}: {
2024-04-02 21:57:59 +02:00
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";
2024-04-05 13:31:30 +02:00
TRUSTED_PROXIES = lib.trace "fix" "*";
2024-04-02 21:57:59 +02:00
SITE_OWNER = "firefly-admin@${config.secrets.secrets.global.domains.mail_public}";
2024-04-05 13:31:30 +02:00
APP_KEY = lib.trace "fix" "ctiectiectiectctiectiectiectieie";
2024-04-02 21:57:59 +02:00
};
};
}