nixos/services/syncthing/Vanguard.nix

20 lines
416 B
Nix

{...}: {
imports = [
./default.nix
./folders/comics.nix
./folders/notes.nix
./folders/pictures.nix
];
services.syncthing = {
user = "xenia";
group = "users";
dataDir = "/home/xenia";
extraOptions.options.globalAnnounceEnabled = true;
folders = {
"Comics".path = "~/Documents/Comics";
"Notes".path = "~/notes";
"Pictures".path = "~/Pictures";
};
};
}