Syncthing: Difference between revisions

imported>Fauxmight
m Declarative configuration: services.syncthing.folders -> services.syncthing.settings.folders
imported>Stuzenz
m minor change due to change in options from 'extraOptions' to 'settings'
Line 66: Line 66:
It is also a good idea to protect the web GUI with a username and password combination:
It is also a good idea to protect the web GUI with a username and password combination:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
services.syncthing.extraOptions.gui = {
services.syncthing.settings.gui = {
     user = "username";
     user = "username";
     password = "password";
     password = "password";