feat: enable syncthing
This commit is contained in:
parent
548cda70d8
commit
7a1022097d
6 changed files with 26 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -162,6 +162,10 @@
|
|||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.pointerCursor =
|
||||
let
|
||||
getFrom = url: hash: name: {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -52,8 +52,9 @@
|
|||
apps.zsh.enable = true;
|
||||
};
|
||||
|
||||
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue