nixos/syncthing/Vanguard.nix

62 lines
1.6 KiB
Nix
Raw Normal View History

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