tweak: syncthing options
This commit is contained in:
parent
8ceec87851
commit
a02622de15
1 changed files with 19 additions and 13 deletions
|
|
@ -16,28 +16,34 @@
|
||||||
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;
|
||||||
|
settings = {
|
||||||
|
#options = {};
|
||||||
|
#devices = [];
|
||||||
|
#folders = [];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# user level configuration options
|
# user level configuration options
|
||||||
home-manager.users.${user-parts.user.username} = {
|
#home-manager.users.${user-parts.user.username} = {
|
||||||
|
|
||||||
# import home manager modules here
|
# import home manager modules here
|
||||||
#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