1
Fork 0
nixos-system-config/packages/syncthing/homeserver.nix

19 lines
387 B
Nix
Raw Normal View History

2023-06-25 12:21:00 +02:00
{ ... }:
{
imports = [
../../users/media.nix
];
services.syncthing = {
enable = true;
user = "media";
dataDir = "/mnt/mass";
configDir = "/mnt/mass/Services/Syncthing";
guiAddress = "0.0.0.0:8384";
};
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
}