nixos/services/syncthing/Legion.nix
Evie Litherland-Smith 0264eeb6fc Add initial settings for new server machine Legion
Adapt existing settings for Vanguard being used as server
2023-06-04 10:55:46 +01:00

61 lines
1.5 KiB
Nix

{...}: {
imports = [./default.nix ./devices];
services.syncthing = {
user = "xenia";
group = "users";
dataDir = "/var/lib/syncthing";
folders = {
"Archive" = {
path = "/var/lib/syncthing/archive";
devices = ["ion" "monarch" "northstar"];
enable = true;
};
"Books" = {
path = "/var/lib/syncthing/books";
devices = ["monarch" "northstar" "remarkable"];
enable = true;
};
"Camera" = {
path = "/var/lib/syncthing/camera";
devices = ["ion"];
enable = true;
};
"Comics" = {
path = "/home/xenia/Documents/Comics";
devices = ["ion" "monarch" "northstar"];
enable = true;
};
"Documents" = {
path = "/var/lib/syncthing/documents";
devices = ["monarch" "northstar"];
enable = true;
};
"Exports" = {
path = "/var/lib/syncthing/exports";
devices = ["monarch"];
enable = true;
};
"Movies" = {
path = "/var/lib/syncthing/movies";
devices = ["ion" "monarch" "northstar"];
enable = true;
};
"Notes" = {
path = "/home/xenia/notes";
devices = ["ion" "monarch" "northstar" "H0615"];
enable = true;
};
"Pictures" = {
path = "/var/lib/syncthing/pictures";
devices = ["ion" "monarch" "northstar"];
enable = true;
};
"Xochitl" = {
path = "/var/lib/syncthing/xochitl";
devices = ["remarkable"];
enable = true;
};
};
};
}