modify backup

This commit is contained in:
Kopatz
2024-05-09 21:56:43 +02:00
parent a320b2e6a5
commit ec1ea0bc18
2 changed files with 74 additions and 48 deletions

View File

@@ -34,8 +34,19 @@
ssd.enable = true;
};
misc = {
backup = {
backup = let
kavita = "/data/kavita";
syncthing = [ "/synced/default/" "/synced/work_drive/" ];
syncthingFull = syncthing ++ [ "/synced/fh/" "/synced/books/" ];
backupPathsSmall = [ "/home" ] ++ syncthing;
backupPathsMedium = [ "/home" ] ++ syncthing;
backupPathsFull = [ "/home" kavita ] ++ syncthingFull;
in
{
enable = true;
small = backupPathsSmall;
medium = backupPathsMedium;
large = backupPathsFull;
};
};
services = {