tweaked sync.nix

This commit is contained in:
serenity-F 2025-03-25 17:38:00 +10:00
parent d348e2e9ab
commit 93f48fffe0

View file

@ -37,8 +37,7 @@
enable = true; # easy toggle enable = true; # easy toggle
dataDir = "${homeDir}"; # defaults to primaryUser's homedir dataDir = "${homeDir}"; # defaults to primaryUser's homedir
openDefaultPorts = true; # opens the default firewall ports openDefaultPorts = true; # opens the default firewall ports
configDir = #configDir = "${homeDir}/.config/syncthing"; # defaults to primaryUser's homedir
"${homeDir}/.config/syncthing"; # defaults to primaryUser's homedir
user = "${primaryUser}"; # uses primaryUser to run the service user = "${primaryUser}"; # uses primaryUser to run the service
group = "users"; # runs in the users group group = "users"; # runs in the users group
#guiAddress = "0.0.0.0:8384"; # default web address for the GUI #guiAddress = "0.0.0.0:8384"; # default web address for the GUI
@ -84,7 +83,7 @@
}; };
## Syncthing Devices ## Syncthing Devices
overrideDevices = true; # force these devices on activation #overrideDevices = true; # force these devices on activation
devices = devices =
{ # all syncthing devices listed - 'boilerplate' for other hosts { # all syncthing devices listed - 'boilerplate' for other hosts