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";
|
|
|
|
folders = {
|
|
|
|
"Archive" = {
|
|
|
|
path = "/mnt/secondary/syncthing/archive";
|
|
|
|
devices = [ "ion" "monarch" "northstar" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Books" = {
|
|
|
|
path = "/mnt/secondary/syncthing/books";
|
2023-05-07 13:20:39 +01:00
|
|
|
devices = [ "monarch" "northstar" "remarkable" ];
|
2023-05-07 13:01:02 +01:00
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Camera" = {
|
|
|
|
path = "/mnt/secondary/syncthing/camera";
|
|
|
|
devices = [ "ion" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Documents" = {
|
|
|
|
path = "/mnt/secondary/syncthing/documents";
|
|
|
|
devices = [ "monarch" "northstar" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Exports" = {
|
|
|
|
path = "/mnt/secondary/syncthing/exports";
|
|
|
|
devices = [ "monarch"];
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Movies" = {
|
|
|
|
path = "/mnt/secondary/syncthing/movies";
|
|
|
|
devices = [ "ion" "monarch" "northstar" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
"Pictures" = {
|
|
|
|
path = "/mnt/secondary/syncthing/pictures";
|
|
|
|
devices = [ "ion" "monarch" "northstar" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-07 13:20:39 +01:00
|
|
|
"Xochitl" = {
|
|
|
|
path = "/mnt/secondary/syncthing/xochitl";
|
|
|
|
devices = [ "remarkable" ];
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-05-07 13:01:02 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|