syncthing: configured versioning everywhere

This commit is contained in:
Ingolf Wagner 2019-11-07 13:42:23 +01:00
parent 32a5e00141
commit c9b2f41596
Signed by: palo
GPG key ID: 76BF5F1928B9618B
5 changed files with 27 additions and 6 deletions

View file

@ -19,10 +19,14 @@
enable = true; enable = true;
path = "/var/lib/syncthing/finance"; path = "/var/lib/syncthing/finance";
versioning = { versioning = {
enable = true; type = "simple";
keep = 10; params.keep = "10";
}; };
}; };
fotos = {
enable = true;
path = "/var/lib/syncthing/fotos";
};
lost-fotos = { lost-fotos = {
enable = true; enable = true;
path = "/var/lib/syncthing/lost-fotos.ct"; path = "/var/lib/syncthing/lost-fotos.ct";

View file

@ -27,6 +27,10 @@
enable = true; enable = true;
path = "/home/palo/.lost-fotos.ct"; path = "/home/palo/.lost-fotos.ct";
}; };
fotos = {
enable = true;
path = "/home/palo/fotos";
};
samples = { samples = {
enable = true; enable = true;
path = "/home/palo/samples"; path = "/home/palo/samples";

View file

@ -25,10 +25,14 @@
enable = true; enable = true;
path = "/home/syncthing/finance"; path = "/home/syncthing/finance";
versioning = { versioning = {
enable = true; type = "simple";
keep = 10; params.keep = "10";
}; };
}; };
fotos = {
enable = true;
path = "/home/syncthing/fotos";
};
lost-fotos = { lost-fotos = {
enable = true; enable = true;
path = "/home/syncthing/lost-fotos.ct"; path = "/home/syncthing/lost-fotos.ct";

View file

@ -24,14 +24,18 @@
enable = true; enable = true;
path = "/home/palo/finance"; path = "/home/palo/finance";
versioning = { versioning = {
enable = true; type = "simple";
keep = 10; params.keep = "10";
}; };
}; };
lost-fotos = { lost-fotos = {
enable = true; enable = true;
path = "/home/palo/.lost-fotos.ct"; path = "/home/palo/.lost-fotos.ct";
}; };
fotos = {
enable = true;
path = "/home/palo/fotos";
};
# no need to be encrypted # no need to be encrypted
# ----------------------- # -----------------------

View file

@ -57,6 +57,11 @@ with lib;
watch = false; watch = false;
devices = [ "workout" "workhorse" "pepe" "sterni" "porani" ]; devices = [ "workout" "workhorse" "pepe" "sterni" "porani" ];
}; };
fotos = {
enable = lib.mkDefault false;
watch = false;
devices = [ "workout" "workhorse" "pepe" "sterni" "porani" ];
};
# no need to be stored on encrypted drives # no need to be stored on encrypted drives
# ---------------------------------------- # ----------------------------------------