2023-05-17 17:10:18 +01:00
|
|
|
{...}: {
|
2023-05-07 13:01:02 +01:00
|
|
|
imports = [
|
|
|
|
./default.nix
|
|
|
|
./devices/ion.nix
|
|
|
|
./devices/monarch.nix
|
|
|
|
./devices/northstar.nix
|
2023-05-07 13:20:39 +01:00
|
|
|
./devices/remarkable.nix
|
2023-05-07 13:01:02 +01:00
|
|
|
];
|
|
|
|
services.syncthing = {
|
|
|
|
user = "xenia";
|
|
|
|
group = "users";
|
|
|
|
dataDir = "/mnt/secondary/syncthing";
|
2023-05-19 12:00:01 +01:00
|
|
|
settings.folders = {
|
2023-05-07 13:01:02 +01:00
|
|
|
"Archive" = {
|
|
|
|
path = "/mnt/secondary/syncthing/archive";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["ion" "monarch" "northstar"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Books" = {
|
|
|
|
path = "/mnt/secondary/syncthing/books";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["monarch" "northstar" "remarkable"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Camera" = {
|
|
|
|
path = "/mnt/secondary/syncthing/camera";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["ion"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-19 14:06:56 +01:00
|
|
|
"Comics" = {
|
|
|
|
path = "/home/xenia/Documents/Comics";
|
|
|
|
devices = ["ion" "monarch" "northstar"];
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-07 13:01:02 +01:00
|
|
|
"Documents" = {
|
|
|
|
path = "/mnt/secondary/syncthing/documents";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["monarch" "northstar"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Exports" = {
|
|
|
|
path = "/mnt/secondary/syncthing/exports";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["monarch"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Movies" = {
|
|
|
|
path = "/mnt/secondary/syncthing/movies";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["ion" "monarch" "northstar"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Pictures" = {
|
|
|
|
path = "/mnt/secondary/syncthing/pictures";
|
2023-05-17 17:10:18 +01:00
|
|
|
devices = ["ion" "monarch" "northstar"];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
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
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-07 13:01:02 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|