nixos/services/syncthing/Legion.nix

41 lines
1.2 KiB
Nix

{...}: {
imports = [
./default.nix
./devices/H0615.nix
./devices/Ion.nix
./devices/Monarch.nix
./devices/Northstar.nix
./devices/Remarkable.nix
./devices/Vanguard.nix
./folders/archive.nix
./folders/books.nix
./folders/camera.nix
./folders/comics.nix
./folders/documents.nix
./folders/exports.nix
./folders/movies.nix
./folders/notes.nix
./folders/pictures.nix
./folders/xochitl.nix
./folders/zotero.nix
];
services.syncthing = {
user = "xenia";
group = "users";
extraOptions.options.globalAnnounceEnabled = true;
folders = {
"Archive".devices = ["ion" "monarch" "northstar" "vanguard"];
"Books".devices = ["monarch" "northstar" "remarkable" "vanguard"];
"Camera".devices = ["ion"];
"Comics".devices = ["ion" "monarch" "northstar" "vanguard"];
"Documents".devices = ["monarch" "northstar" "vanguard"];
"Exports".devices = ["monarch" "vanguard"];
"Movies".devices = ["ion" "monarch" "northstar" "vanguard"];
"Notes".devices = ["H0615" "ion" "monarch" "northstar" "vanguard"];
"Pictures".devices = ["ion" "monarch" "northstar" "vanguard"];
"Xochitl".devices = ["remarkable"];
"Zotero".devices = ["H0615"];
};
};
}