70 lines
1.9 KiB
Nix
70 lines
1.9 KiB
Nix
{...}: {
|
|
imports = [
|
|
./default.nix
|
|
./devices/H0615.nix
|
|
./devices/Ion.nix
|
|
./devices/Legion.nix
|
|
./devices/Monarch.nix
|
|
./devices/Northstar.nix
|
|
./devices/Remarkable.nix
|
|
./folders/archive.nix
|
|
./folders/books.nix
|
|
./folders/camera.nix
|
|
./folders/comics.nix
|
|
./folders/documents.nix
|
|
./folders/exports.nix
|
|
./folders/movies.nix
|
|
./folders/notes.nix
|
|
./folders/pictures.nix
|
|
./folders/xochitl.nix
|
|
];
|
|
services.syncthing = {
|
|
user = "xenia";
|
|
group = "users";
|
|
dataDir = "/mnt/secondary/syncthing";
|
|
extraOptions.options.globalAnnounceEnabled = true;
|
|
folders = {
|
|
"Archive" = {
|
|
path = "/mnt/secondary/syncthing/archive";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Books" = {
|
|
path = "/mnt/secondary/syncthing/books";
|
|
devices = ["legion" "monarch" "northstar" "remarkable"];
|
|
};
|
|
"Camera" = {
|
|
path = "/mnt/secondary/syncthing/camera";
|
|
devices = ["ion"];
|
|
};
|
|
"Comics" = {
|
|
path = "/home/xenia/Documents/Comics";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Documents" = {
|
|
path = "/mnt/secondary/syncthing/documents";
|
|
devices = ["legion" "monarch" "northstar"];
|
|
};
|
|
"Exports" = {
|
|
path = "/mnt/secondary/syncthing/exports";
|
|
devices = ["legion" "monarch"];
|
|
};
|
|
"Movies" = {
|
|
path = "/mnt/secondary/syncthing/movies";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Notes" = {
|
|
path = "/home/xenia/notes";
|
|
devices = ["ion" "legion" "monarch" "northstar" "H0615"];
|
|
};
|
|
"Pictures" = {
|
|
path = "/mnt/secondary/syncthing/pictures";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Xochitl" = {
|
|
path = "/mnt/secondary/syncthing/xochitl";
|
|
devices = ["remarkable"];
|
|
};
|
|
};
|
|
};
|
|
}
|