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