Seperate syncthing for server and syncthing for clients

This commit is contained in:
Jack Mechem 2026-03-16 12:57:45 -07:00
parent 867755c7ff
commit 5dc7dfa232
3 changed files with 14 additions and 1 deletions

View file

@ -10,7 +10,7 @@
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
../../modules/nixos/user-jack.nix
../../modules/nixos/syncthing.nix
../../modules/nixos/syncthingServer.nix
];
# Use the systemd-boot EFI boot loader.

View file

@ -5,6 +5,8 @@
services.syncthing = {
enable = true;
openDefaultPorts = true;
user = "jack";
dataDir = "/home/jack";
};
networking.firewall.allowedTCPPorts = [ 8384 ];

View file

@ -0,0 +1,11 @@
{
...
}:
{
services.syncthing = {
enable = true;
openDefaultPorts = true;
};
networking.firewall.allowedTCPPorts = [ 8384 ];
}