This commit is contained in:
Shelvacu
2024-12-26 15:57:19 -08:00
committed by Shelvacu on legtop
parent 100bab20f3
commit 0bb7cde4d9
2 changed files with 24 additions and 7 deletions

View File

@@ -12,6 +12,7 @@
./services/static-stuff.nix
./services/vacustore.nix
./services/dufs.nix
./services/firefly.nix
];
vacu.proxiedServices = {
@@ -23,6 +24,7 @@
static-stuff-mira.enable = true;
llm.enable = true;
dufs.enable = true;
firefly.enable = true;
keycloak.enable = false;
kanidm.enable = false;

View File

@@ -1,5 +1,4 @@
{ config, lib, ... }:
assert false; # this is a template
{ config, ... }:
let
container = config.containers.firefly;
in
@@ -29,12 +28,7 @@ in
};
config =
let
outer_config = config;
in
{
config,
pkgs,
lib,
...
}:
@@ -44,6 +38,27 @@ in
networking.firewall.enable = false;
networking.useHostResolvConf = lib.mkForce false;
services.resolved.enable = true;
services.firefly-iii = {
enable = true;
dataDir = "/firefly";
settings = {
APP_URL = "https://firefly.shelvacu.com/";
APP_ENV = "production";
SITE_OWNER = "firefly@shelvacu.com";
DEFAULT_LANGUAGE = "en_US";
TZ = "America/Los_Angeles";
TRUSTED_PROXIES = container.hostAddress;
DB_CONNECTION = "pgsql";
DB_HOST = container.hostAddress;
DB_PORT = "5432";
DB_DATABASE = "firefly";
DB_USERNAME = "firefly";
DB_PASSWORD = "";
};
enableNginx = true;
virtualHost = "firefly.shelvacu.com";
};
};
};
}