syncthing: add private folder

This commit is contained in:
Ingolf Wagner 2019-11-22 23:46:39 +13:00
parent 7a2da68125
commit 016b4bfac4
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 21 additions and 4 deletions

View file

@ -15,6 +15,10 @@
# on encrypted drive # on encrypted drive
# ------------------ # ------------------
private = {
enable = true;
path = "/home/palo/private";
};
desktop = { desktop = {
enable = true; enable = true;
path = "/home/palo/desktop"; path = "/home/palo/desktop";

View file

@ -17,6 +17,14 @@
# on encrypted hard drive # on encrypted hard drive
# ----------------------- # -----------------------
private = {
enable = true;
path = "/home/syncthing/private";
versioning = {
type = "simple";
params.keep = "10";
};
};
desktop = { desktop = {
enable = true; enable = true;
path = "/home/syncthing/desktop"; path = "/home/syncthing/desktop";

View file

@ -47,6 +47,11 @@ with lib;
# needs to be on encrypted drives # needs to be on encrypted drives
# ------------------------------- # -------------------------------
private = {
enable = lib.mkDefault false;
watch = false;
devices = [ "workout" "workhorse" "pepe" "sterni" "porani" ];
};
desktop = { desktop = {
enable = lib.mkDefault false; enable = lib.mkDefault false;
watch = false; watch = false;