2023-07-16 17:35:36 +01:00
|
|
|
{...}: let
|
|
|
|
user = "xenia";
|
2023-07-21 11:38:46 +01:00
|
|
|
dataDir = "/home/${user}";
|
2023-07-16 17:35:36 +01:00
|
|
|
in {
|
|
|
|
imports = [./sshd ./syncthing];
|
2023-05-07 13:01:02 +01:00
|
|
|
services.syncthing = {
|
2023-07-16 17:35:36 +01:00
|
|
|
user = user;
|
2023-05-07 13:01:02 +01:00
|
|
|
group = "users";
|
2023-07-21 11:38:46 +01:00
|
|
|
dataDir = dataDir;
|
2023-05-07 13:01:02 +01:00
|
|
|
};
|
|
|
|
}
|