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";
}