mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -06:00
feat: added firefly-iii
This commit is contained in:
parent
4c5dd6881b
commit
02b357f8e9
2 changed files with 19 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ let
|
|||
;
|
||||
label = "Firefly-III";
|
||||
name = "firefly-iii";
|
||||
domain = "${name}.${domain0}";
|
||||
domain = "finances.${domain0}";
|
||||
in
|
||||
{
|
||||
label = label;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
let
|
||||
inherit (flake.config.services.instances) firefly-iii;
|
||||
inherit (flake.config.machines.devices) ceres;
|
||||
# localhost = "${ceres.ip.addess0}:${service.ports.port0}";
|
||||
host = service.domains.url0;
|
||||
service = firefly-iii;
|
||||
in
|
||||
{
|
||||
|
|
@ -17,6 +19,22 @@ in
|
|||
firefly-iii-data-importer = {
|
||||
enable = true;
|
||||
};
|
||||
caddy = {
|
||||
virtualHosts = {
|
||||
${host} = {
|
||||
extraConfig = ''
|
||||
root * ${
|
||||
config.services.phpfpm.pools.firefly-iii.settings.php_admin_value."opcache.file_cache"
|
||||
}/../public
|
||||
php_fastcgi unix//run/phpfpm/firefly-iii.sock
|
||||
file_server
|
||||
encode gzip
|
||||
|
||||
tls ${service.ssl.cert} ${service.ssl.key}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
sops =
|
||||
let
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue