Add service ActualBudget

This commit is contained in:
pazpi 2026-03-26 22:41:11 +01:00
parent 888d0e1271
commit 9d623b94e1
No known key found for this signature in database
9 changed files with 132 additions and 0 deletions

42
hosts/actual/default.nix Normal file
View file

@ -0,0 +1,42 @@
{
config,
pkgs,
...
}:
let
p = import ../parameters.nix;
in
{
age.secrets = {
actual-openid-client-secret = {
file = ../../secrets/actual-openid-client-secret.age;
};
};
my = {
utils = {
commons.enable = true;
lxc-standard.enable = true;
};
services.actual = {
enable = true;
settings = {
openId = {
discoveryURL = "https://auth.${p.domains.public}/application/o/actual/.well-known/openid-configuration";
client_id = "PVOPLIfXxUiXT5ydn9QR7ht6XAoSJVMhwR5Kbt0I";
client_secret._secret = config.age.secrets.actual-openid-client-secret.path;
server_hostname = "https://actual.${p.domains.public}";
authMethod = "openid";
};
};
};
virtualisation.proxmox.enable = true;
};
environment.systemPackages = with pkgs; [ ];
system.stateVersion = "25.11";
}

View file

@ -98,6 +98,12 @@ in
host = p.hosts.paperless;
};
actual.proxy = {
enable = true;
domain = p.domains.public;
host = p.hosts.actual;
};
searx = {
enable = true;
secretFile = config.age.secrets.searx-secret.path;

View file

@ -1,6 +1,15 @@
# Single source of truth for all host definitions
# Each host specifies its module path, deployment tags, and optional flags
{
actual = {
module = ./actual;
tags = [
"lxc"
"bacco"
"actual"
];
};
arr = {
module = ./arr;
tags = [
@ -34,6 +43,7 @@
"immich"
"firefly-iii"
"paperless"
"actual"
];
};

View file

@ -35,6 +35,7 @@ in
ilpost-podcast = "ilpost-podcast.${private-domain}";
librenms = "librenms.${private-domain}";
collabora = "collabora.${private-domain}";
actual = "actual-budget.${private-domain}";
};
personal = {
username = "pazpi";