sets up actual with backups

This commit is contained in:
Dennis Schoepf 2026-01-15 20:11:29 +01:00
parent cfe2e1f51c
commit 25b702bee9
2 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,8 @@
description = "user service for the actual budgeting server instance"; description = "user service for the actual budgeting server instance";
environment = { environment = {
ACTUAL_PORT = "9002"; ACTUAL_PORT = "9002";
ACTUAL_DATA_DIR = "/data/actual-server";
ACTUAL_HOSTNAME = "0.0.0.0";
}; };
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";

View file

@ -22,9 +22,11 @@
initialize = true; initialize = true;
passwordFile = config.age.secrets."restic/password".path; passwordFile = config.age.secrets."restic/password".path;
repository = "sftp:dnsc-storage:restic/dnsc-server"; repository = "sftp:dnsc-storage:restic/dnsc-server";
createWrapper = true;
paths = [ paths = [
"/home/dennis/notes" "/home/dennis/notes"
"/main/share" "/main/share"
"/data/actual-server"
]; ];
pruneOpts = [ pruneOpts = [
"--keep-last 3" "--keep-last 3"