sets up actual with backups
This commit is contained in:
parent
cfe2e1f51c
commit
25b702bee9
2 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
|||
description = "user service for the actual budgeting server instance";
|
||||
environment = {
|
||||
ACTUAL_PORT = "9002";
|
||||
ACTUAL_DATA_DIR = "/data/actual-server";
|
||||
ACTUAL_HOSTNAME = "0.0.0.0";
|
||||
};
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
|
|||
|
|
@ -22,9 +22,11 @@
|
|||
initialize = true;
|
||||
passwordFile = config.age.secrets."restic/password".path;
|
||||
repository = "sftp:dnsc-storage:restic/dnsc-server";
|
||||
createWrapper = true;
|
||||
paths = [
|
||||
"/home/dennis/notes"
|
||||
"/main/share"
|
||||
"/data/actual-server"
|
||||
];
|
||||
pruneOpts = [
|
||||
"--keep-last 3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue