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