19 lines
400 B
Nix
19 lines
400 B
Nix
{...}: let
|
|
user = "elitherl";
|
|
group = "users";
|
|
dataDir = "/home/${user}";
|
|
in {
|
|
imports = [./syncthing];
|
|
services.syncthing = {
|
|
inherit user group dataDir;
|
|
settings.folders = {
|
|
"Archive".enable = false;
|
|
"Books".enable = false;
|
|
"Comics".enable = false;
|
|
"Documents".enable = false;
|
|
"Exports".enable = false;
|
|
"Pictures".enable = false;
|
|
};
|
|
};
|
|
}
|