mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: added firefly-iii
This commit is contained in:
parent
509893c072
commit
9f8af5558c
3 changed files with 9 additions and 10 deletions
|
|
@ -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";
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue