nixos/services/syncthing/Vanguard.nix

69 lines
1.8 KiB
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
imports = [
./default.nix
./devices/H0615.nix
./devices/Ion.nix
./devices/Legion.nix
./devices/Monarch.nix
./devices/Northstar.nix
./devices/Remarkable.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
];
services.syncthing = {
user = "xenia";
group = "users";
extraOptions.options.globalAnnounceEnabled = true;
2023-05-25 08:48:58 +01:00
folders = {
"Archive" = {
path = "/mnt/secondary/syncthing/archive";
devices = ["ion" "legion" "monarch" "northstar"];
};
"Books" = {
path = "/mnt/secondary/syncthing/books";
devices = ["legion" "monarch" "northstar" "remarkable"];
};
"Camera" = {
path = "~/Camera";
2023-05-17 17:10:18 +01:00
devices = ["ion"];
};
2023-05-19 14:06:56 +01:00
"Comics" = {
path = "~/Documents/Comics";
devices = ["ion" "legion" "monarch" "northstar"];
2023-05-19 14:06:56 +01:00
};
"Documents" = {
path = "/mnt/secondary/syncthing/documents";
devices = ["legion" "monarch" "northstar"];
};
"Exports" = {
path = "/mnt/secondary/syncthing/exports";
devices = ["legion" "monarch"];
};
"Movies" = {
path = "~/Videos";
devices = ["ion" "legion" "monarch" "northstar"];
};
2023-05-23 17:08:32 +01:00
"Notes" = {
path = "~/notes";
devices = ["ion" "legion" "monarch" "northstar" "H0615"];
2023-05-23 17:08:32 +01:00
};
"Pictures" = {
path = "~/Pictures";
devices = ["ion" "legion" "monarch" "northstar"];
};
2023-05-07 13:20:39 +01:00
"Xochitl" = {
path = "/mnt/secondary/syncthing/xochitl";
2023-05-17 17:10:18 +01:00
devices = ["remarkable"];
2023-05-07 13:20:39 +01:00
};
};
};
}