mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 01:50:33 +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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|