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