mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
23 lines
383 B
Nix
23 lines
383 B
Nix
{ flake, ... }:
|
|
let
|
|
inherit (flake.config.services.instances) firefly;
|
|
service = firefly;
|
|
in
|
|
{
|
|
services = {
|
|
firefly-iii = {
|
|
enable = true;
|
|
dataDir = service.paths.path0;
|
|
DB_CONNECTION = "pgsql";
|
|
};
|
|
firefly-iii-data-importer = {
|
|
enable = true;
|
|
};
|
|
};
|
|
networking = {
|
|
firewall.allowedTCPPorts = [
|
|
8080
|
|
8081
|
|
];
|
|
};
|
|
}
|