tweak: syncthing options
This commit is contained in:
parent
a02622de15
commit
5516db3517
1 changed files with 10 additions and 7 deletions
|
|
@ -16,15 +16,18 @@
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
# opens network ports for syncthing
|
# opens network ports for syncthing
|
||||||
#networking.firewall = {
|
networking.firewall = {
|
||||||
#allowedTCPPorts = [ 8384 ];
|
allowedTCPPorts = [ 8384 ];
|
||||||
#allowedUDPPorts = [ 8834 ];
|
#allowedUDPPorts = [ 8834 ];
|
||||||
#};
|
};
|
||||||
|
|
||||||
# system level syncthing options go here
|
# system level syncthing options go here
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
|
|
||||||
|
# address to serve web client on
|
||||||
|
guiAddress = "0.0.0.0:8384";
|
||||||
settings = {
|
settings = {
|
||||||
#options = {};
|
#options = {};
|
||||||
#devices = [];
|
#devices = [];
|
||||||
|
|
@ -39,9 +42,9 @@
|
||||||
#imports = [ ];
|
#imports = [ ];
|
||||||
|
|
||||||
# user level syncthing options go here
|
# user level syncthing options go here
|
||||||
#services.syncthing = {
|
services.syncthing = {
|
||||||
#enable = true;
|
enable = true;
|
||||||
#};
|
};
|
||||||
|
|
||||||
#};
|
#};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue