Update H0615 syncthing config for redesigned folder structure

This commit is contained in:
Evie Litherland-Smith 2023-06-05 07:47:40 +01:00
parent b9edd347e5
commit 90d1a7abda

View file

@ -1,29 +1,21 @@
{...}: {
imports = [./default.nix ./devices];
imports = [
./default.nix
./devices/Ion.nix
./devices/Legion.nix
./devices/Monarch.nix
./devices/Northstar.nix
./devices/Vanguard.nix
./folders/notes.nix
];
services.syncthing = {
user = "elitherl";
group = "users";
dataDir = "/home/elitherl";
extraOptions = {
options = {
globalAnnounceEnabled = true;
localAnnounceEnabled = true;
};
};
folders = {
"Notes" = {
path = "/home/elitherl/notes";
devices = ["ion" "monarch" "northstar" "vanguard"];
enable = true;
};
Sync = {
path = "/home/elitherl/Sync";
label = "UKAEA";
id = "fwzht-j7hrc";
devices = ["ion"];
ignorePerms = true;
enable = true;
};
extraOptions.options.globalAnnounceEnabled = true;
folders."Notes" = {
path = "~/notes";
devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
};
};
}