nixos/services/syncthing/Vanguard.nix

20 lines
416 B
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
imports = [
./default.nix
./folders/comics.nix
./folders/notes.nix
./folders/pictures.nix
];
services.syncthing = {
user = "xenia";
group = "users";
2023-06-27 07:42:27 +01:00
dataDir = "/home/xenia";
extraOptions.options.globalAnnounceEnabled = true;
2023-05-25 08:48:58 +01:00
folders = {
2023-06-27 07:38:02 +01:00
"Comics".path = "~/Documents/Comics";
"Notes".path = "~/notes";
"Pictures".path = "~/Pictures";
};
};
}