diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 28fca6f..0f223d7 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -367,11 +367,16 @@ 7791 # Pixelflut 38281 # Archipelago + 22000 # syncthing + 2283 # immich ]; networking.firewall.allowedUDPPorts = [ 53317 38281 # Archipelago + + 22000 # syncthing + 21027 # syncthing ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 6fa7213..f28b5c5 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -160,6 +160,10 @@ zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"''; }; + services.syncthing = { + enable = true; + }; + home.pointerCursor = let getFrom = url: hash: name: { diff --git a/hosts/muos/configuration.nix b/hosts/muos/configuration.nix index 4f63256..dcf50a5 100644 --- a/hosts/muos/configuration.nix +++ b/hosts/muos/configuration.nix @@ -291,9 +291,14 @@ # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 53317 # Localsend + + 22000 # syncthing ]; networking.firewall.allowedUDPPorts = [ 53317 + + 22000 # syncthing + 21027 # syncthing ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/muos/home.nix b/hosts/muos/home.nix index f255f19..96f3296 100644 --- a/hosts/muos/home.nix +++ b/hosts/muos/home.nix @@ -162,6 +162,10 @@ home-manager.enable = true; }; + services.syncthing = { + enable = true; + }; + home.pointerCursor = let getFrom = url: hash: name: { diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 9f18907..fe1ddf4 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -331,11 +331,16 @@ 80 # http 443 # https 3000 # hydra + + 22000 # syncthing ]; networking.firewall.allowedUDPPorts = [ 22 # ssh 80 # http 443 # https + + 22000 # syncthing + 21027 # syncthing ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/server/home.nix b/hosts/server/home.nix index fdd09c7..56f1eb3 100644 --- a/hosts/server/home.nix +++ b/hosts/server/home.nix @@ -52,8 +52,9 @@ apps.zsh.enable = true; }; - - + services.syncthing = { + enable = true; + };