nixos/services/syncthing/Vanguard.nix

61 lines
1.6 KiB
Nix
Raw Normal View History

2023-05-17 17:10:18 +01:00
{...}: {
2023-05-23 17:17:51 +01:00
imports = [./default.nix ./devices];
services.syncthing = {
user = "xenia";
group = "users";
dataDir = "/mnt/secondary/syncthing";
2023-05-25 08:48:58 +01:00
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;
};
2023-05-23 17:08:32 +01:00
"Notes" = {
path = "/home/xenia/notes";
2023-05-23 17:17:51 +01:00
devices = ["ion" "monarch" "northstar" "H0615"];
2023-05-23 17:08:32 +01:00
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;
};
};
};
}