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
|
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;
|
||||||
|
|
|
||||||
|
|
@ -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: {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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: {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -52,8 +52,9 @@
|
||||||
apps.zsh.enable = true;
|
apps.zsh.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue