setting syncthing folders

This commit is contained in:
Richie Cahill 2024-04-12 07:57:12 -04:00
parent c4cc7658b2
commit 180f655663
2 changed files with 44 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { pkgs, ... }:
{ {
networking = { networking = {
@ -93,7 +93,7 @@
}; };
}; };
folders = { folders = {
"Notes" = { "notes" = {
id = "l62ul-lpweo"; id = "l62ul-lpweo";
path = "/ZFS/Media/Notes"; path = "/ZFS/Media/Notes";
devices = [ devices = [
@ -102,6 +102,24 @@
]; ];
fsWatcherEnabled = true; fsWatcherEnabled = true;
}; };
"books" = {
id = "6uppx-vadmy";
path = "/ZFS/Storage/Syncthing/books";
devices = [
"Phone"
"jeeves"
];
fsWatcherEnabled = true;
};
"important" = {
id = "4ckma-gtshs";
path = "/ZFS/Storage/Syncthing/important";
devices = [
"Phone"
"jeeves"
];
fsWatcherEnabled = true;
};
}; };
}; };
}; };

View File

@ -57,14 +57,35 @@
"Phone" = { "Phone" = {
id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5"; id = "LTGPLAE-M4ZDJTM-TZ3DJGY-SLLAVWF-CQDVEVS-RGCS75T-GAPZYK3-KUM6LA5";
}; };
"jeeves" = {
id = "7YQ4UEW-OPQEBH4-6YKJH4B-ZCE3SAX-5EIK5JL-WJDIWUA-WA2N3D5-MNK6GAV";
};
}; };
folders = { folders = {
"Notes" = { "notes" = {
id = "l62ul-lpweo"; id = "l62ul-lpweo";
path = "/home/richie/Notes"; path = "/home/richie/notes";
devices = [ devices = [
"Phone" "Phone"
"rhapsody-in-green" "jeeves"
];
fsWatcherEnabled = true;
};
"books" = {
id = "6uppx-vadmy";
path = "/home/richie/books";
devices = [
"Phone"
"jeeves"
];
fsWatcherEnabled = true;
};
"important" = {
id = "4ckma-gtshs";
path = "/home/richie/important";
devices = [
"Phone"
"jeeves"
]; ];
fsWatcherEnabled = true; fsWatcherEnabled = true;
}; };