nixos-config/common/syncthing.nix

21 lines
350 B
Nix
Raw Normal View History

2024-04-12 12:50:19 +02:00
{
config,
lib,
inputs,
...
}: {
services.syncthing = {
enable = true;
user = "xqtc";
dataDir = "/home/xqtc/syncthing";
2024-04-18 13:31:55 +02:00
overrideDevices = false;
overrideFolders = false;
2024-04-12 12:50:19 +02:00
configDir = "${config.services.syncthing.dataDir}/.config/syncthing";
settings = {
gui = {
2024-04-18 13:31:55 +02:00
user = "xqtc";
2024-04-12 12:50:19 +02:00
};
};
};
}