backup finance folder
This commit is contained in:
parent
2eb5141f6b
commit
9a8f27f3d4
5 changed files with 15 additions and 4 deletions
|
@ -41,6 +41,7 @@
|
|||
|
||||
users.groups."syncthing".members = [ "mpd" "syncthing" "kodi" "palo" ];
|
||||
|
||||
|
||||
backup.all.restic.dirs = ["/var/lib/syncthing/finance"];
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -50,4 +50,6 @@
|
|||
after = [ "media.mount" ];
|
||||
};
|
||||
|
||||
backup.all.restic.dirs = ["/home/syncthing/finance"];
|
||||
|
||||
}
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
{
|
||||
|
||||
backup.services.restic = {
|
||||
"on-porani".enable = false;
|
||||
"on-porani".enable = true;
|
||||
"on-workhorse".enable = true;
|
||||
"on-workout".enable = true;
|
||||
};
|
||||
|
||||
backup.all.restic.dirs = [
|
||||
"/home/palo/.gnupg"
|
||||
"/home/palo/.ssh"
|
||||
"/home/palo/.password-store"
|
||||
];
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
./initssh.nix
|
||||
./graylog-exporter.nix
|
||||
./prometheus-exporters.nix
|
||||
./restic.nix
|
||||
];
|
||||
|
||||
# make sure laptops stay awake when closing the montior
|
||||
|
|
9
system/server/restic.nix
Normal file
9
system/server/restic.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
|
||||
backup.services.restic = {
|
||||
"on-porani".enable = true;
|
||||
"on-workhorse".enable = true;
|
||||
"on-workout".enable = true;
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue