feat: enable syncthing

This commit is contained in:
Noa Aarts 2024-08-31 15:07:38 +02:00
parent 548cda70d8
commit 7a1022097d
Signed by: noa
GPG key ID: 1850932741EFF672
6 changed files with 26 additions and 2 deletions

View file

@ -367,11 +367,16 @@
7791 # Pixelflut 7791 # Pixelflut
38281 # Archipelago 38281 # Archipelago
22000 # syncthing
2283 # immich 2283 # immich
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
53317 53317
38281 # Archipelago 38281 # Archipelago
22000 # syncthing
21027 # syncthing
]; ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View file

@ -160,6 +160,10 @@
zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"''; zsh.shellAliases.bzzt = ''nix-shell -p mpv --command "mpv ~/Videos/BZZZM.mp4"'';
}; };
services.syncthing = {
enable = true;
};
home.pointerCursor = home.pointerCursor =
let let
getFrom = url: hash: name: { getFrom = url: hash: name: {

View file

@ -291,9 +291,14 @@
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
53317 # Localsend 53317 # Localsend
22000 # syncthing
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
53317 53317
22000 # syncthing
21027 # syncthing
]; ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View file

@ -162,6 +162,10 @@
home-manager.enable = true; home-manager.enable = true;
}; };
services.syncthing = {
enable = true;
};
home.pointerCursor = home.pointerCursor =
let let
getFrom = url: hash: name: { getFrom = url: hash: name: {

View file

@ -331,11 +331,16 @@
80 # http 80 # http
443 # https 443 # https
3000 # hydra 3000 # hydra
22000 # syncthing
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
22 # ssh 22 # ssh
80 # http 80 # http
443 # https 443 # https
22000 # syncthing
21027 # syncthing
]; ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
# networking.firewall.enable = false; # networking.firewall.enable = false;

View file

@ -52,8 +52,9 @@
apps.zsh.enable = true; apps.zsh.enable = true;
}; };
services.syncthing = {
enable = true;
};