nixos/services/syncthing/Vanguard.nix

44 lines
1 KiB
Nix

{...}: {
imports = [
./default.nix
./devices/H0615.nix
./devices/Ion.nix
./devices/Legion.nix
./devices/Monarch.nix
./devices/Northstar.nix
./devices/Remarkable.nix
./folders/camera.nix
./folders/comics.nix
./folders/movies.nix
./folders/notes.nix
./folders/pictures.nix
];
services.syncthing = {
user = "xenia";
group = "users";
extraOptions.options.globalAnnounceEnabled = true;
folders = {
"Camera" = {
path = "~/Camera";
devices = ["ion"];
};
"Comics" = {
path = "~/Documents/Comics";
devices = ["ion" "legion" "monarch" "northstar"];
};
"Movies" = {
path = "~/Videos";
devices = ["ion" "legion" "monarch" "northstar"];
};
"Notes" = {
path = "~/notes";
devices = ["ion" "legion" "monarch" "northstar" "H0615"];
};
"Pictures" = {
path = "~/Pictures";
devices = ["ion" "legion" "monarch" "northstar"];
};
};
};
}