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