add actualbudget

This commit is contained in:
TheWanderingCrow 2025-04-24 09:22:10 -04:00
parent b28a86b2eb
commit be879f1772
4 changed files with 41 additions and 0 deletions

View file

@ -47,6 +47,7 @@ lib.mkIf config.user.overseer.enable {
"notes.wanderingcrow.net" = {};
"grocy.wanderingcrow.net" = {};
"barcodebuddy.grocy.wanderingcrow.net" = {};
"budget.wanderingcrow.net" = {};
};
};
}

View file

@ -22,6 +22,9 @@ let
# grocy
"/var/lib/grocy"
# actualbudget
"${volumePath}/actualbudget"
];
};
in

View file

@ -0,0 +1,36 @@
{...}: let
volumePath = "/overseer/services";
in {
systemd.tmpfiles.rules = [
"d ${volumePath}/actualbudet"
];
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"budget.wanderingcrow.net" = {
forceSSL = true;
useACMEHost = "budget.wanderingcrow.net";
locations = {
"/" = {
proxyPass = "http://10.88.0.12";
};
};
};
};
};
virtualisation.oci-containers = {
backend = "podman";
containers = {
"actualbudget" = {
image = "actualbudget/actual-server:latest";
volumes = ["${volumePath}/actualbudget:/data"];
extraOptions = ["--ip=10.88.0.12"];
environment = {
ACTUAL_PORT = 80;
};
};
};
};
}

View file

@ -10,5 +10,6 @@
./frigate.nix
./trilium.nix
./grocy.nix
./actualbudget.nix
];
}