39 lines
917 B
Nix
39 lines
917 B
Nix
{...}: {
|
|
imports = [
|
|
./default.nix
|
|
./devices/Ion.nix
|
|
./devices/Legion.nix
|
|
./devices/Monarch.nix
|
|
./devices/Northstar.nix
|
|
./devices/Remarkable.nix
|
|
./folders/camera.nix
|
|
./folders/comics.nix
|
|
./folders/movies.nix
|
|
./folders/notes.nix
|
|
./folders/pictures.nix
|
|
];
|
|
services.syncthing = {
|
|
user = "xenia";
|
|
group = "users";
|
|
extraOptions.options.globalAnnounceEnabled = true;
|
|
folders = {
|
|
"Comics" = {
|
|
path = "~/Documents/Comics";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Movies" = {
|
|
path = "~/Videos";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Notes" = {
|
|
path = "~/notes";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
"Pictures" = {
|
|
path = "~/Pictures";
|
|
devices = ["ion" "legion" "monarch" "northstar"];
|
|
};
|
|
};
|
|
};
|
|
}
|