~ruther/nixos-config

e09f66ea4c31e95a365292a03d39ef3ffcda608b — Rutherther 1 year, 6 months ago bff6a61
fix: add necessary firewall syncthing settings
1 files changed, 5 insertions(+), 0 deletions(-)

M modules/services/syncthing.nix
M modules/services/syncthing.nix => modules/services/syncthing.nix +5 -0
@@ 1,6 1,11 @@
{ config, lib, pkgs, user, ... }:

{
  networking.firewall = {
    allowedTCPPorts = [ 22000 ];
    allowedUDPPorts = [ 22000 21027 ];
  };

  services.syncthing = {
    enable = true;
    user = "${user}";

Do not follow this link