feat: added firefly-iii

This commit is contained in:
Nick 2025-10-09 03:28:19 -05:00
parent 509893c072
commit 9f8af5558c
3 changed files with 9 additions and 10 deletions

View file

@ -6,8 +6,8 @@ let
sslPath
sopsPath
;
label = "Firefly";
name = "firefly";
label = "Firefly-III";
name = "firefly-iii";
domain = "${name}.${domain0}";
in
{
@ -25,10 +25,9 @@ in
subdomain = name;
paths = {
path0 = "${servicePath}/${label}";
path1 = "${servicePath}/${label}/cache";
};
ports = {
port0 = 3000;
port0 = 8080;
};
ssl = {
cert = "${sslPath}/${name}.${domain0}/fullchain.pem";

View file

@ -1,8 +1,8 @@
{ flake, config, ... }:
let
inherit (flake.config.services.instances) firefly;
inherit (flake.config.services.instances) firefly-iii;
inherit (flake.config.machines.devices) ceres;
service = firefly;
service = firefly-iii;
in
{
services = {
@ -22,7 +22,7 @@ in
let
sopsPath = secret: {
path = "${service.sops.path0}/${service.name}-${secret}";
owner = "firefly-iii";
owner = service.name;
mode = "600";
};
in