mirror of
https://github.com/oqyude/nixos.git
synced 2026-08-08 23:53:11 +03:00
19 lines
368 B
Nix
19 lines
368 B
Nix
{
|
|
config,
|
|
xlib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
services.syncthing = {
|
|
enable = true;
|
|
# package = master.syncthing;
|
|
systemService = true;
|
|
guiAddress = "0.0.0.0:8384";
|
|
configDir = "${xlib.dirs.storage}/persist/Syncthing/${xlib.device.hostname}";
|
|
dataDir = "${xlib.dirs.server-home}";
|
|
group = "users";
|
|
user = "${xlib.device.username}";
|
|
};
|
|
}
|