mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
16 lines
336 B
Nix
Executable File
16 lines
336 B
Nix
Executable File
{
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
services.syncthing = {
|
|
enable = true;
|
|
systemService = true;
|
|
guiAddress = "0.0.0.0:8384";
|
|
configDir = "${config.xlib.dirs.storage}/Syncthing/${config.xlib.device.hostname}";
|
|
dataDir = "${config.xlib.dirs.server-home}";
|
|
group = "users";
|
|
user = "${config.xlib.device.username}";
|
|
};
|
|
}
|