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 = { services.syncthing = {
user = "elitherl"; user = "elitherl";
group = "users"; group = "users";
dataDir = "/home/elitherl"; dataDir = "/home/elitherl";
extraOptions = { extraOptions.options.globalAnnounceEnabled = true;
options = { folders."Notes" = {
globalAnnounceEnabled = true; path = "~/notes";
localAnnounceEnabled = true; devices = ["ion" "legion" "monarch" "northstar" "vanguard"];
};
};
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;
};
}; };
}; };
} }