Add service ActualBudget
This commit is contained in:
parent
888d0e1271
commit
9d623b94e1
9 changed files with 132 additions and 0 deletions
42
hosts/actual/default.nix
Normal file
42
hosts/actual/default.nix
Normal 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";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue