mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -06:00
feat: added firefly-iii
This commit is contained in:
parent
26930c0dcc
commit
0113cd05f9
3 changed files with 61 additions and 0 deletions
23
modules/nixos/services/firefly/default.nix
Normal file
23
modules/nixos/services/firefly/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue