mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 20:20:33 +01:00
22 lines
390 B
Nix
22 lines
390 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
services.syncthing = {
|
|
enable = true;
|
|
user = "xqtc";
|
|
dataDir = "/home/xqtc/syncthing";
|
|
overrideDevices = false;
|
|
overrideFolders = false;
|
|
configDir = "${config.services.syncthing.dataDir}/.config/syncthing";
|
|
settings = {
|
|
gui = {
|
|
user = "xqtc";
|
|
# insecureSkipHostcheck = true;
|
|
};
|
|
};
|
|
};
|
|
}
|