Seperate syncthing for server and syncthing for clients
This commit is contained in:
parent
867755c7ff
commit
5dc7dfa232
3 changed files with 14 additions and 1 deletions
|
|
@ -5,6 +5,8 @@
|
|||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
user = "jack";
|
||||
dataDir = "/home/jack";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8384 ];
|
||||
|
|
|
|||
11
modules/nixos/syncthingServer.nix
Normal file
11
modules/nixos/syncthingServer.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
openDefaultPorts = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 8384 ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue