diff --git a/hosts/dregil/configuration.nix b/hosts/dregil/configuration.nix index 186fa29..ff43a6b 100644 --- a/hosts/dregil/configuration.nix +++ b/hosts/dregil/configuration.nix @@ -100,9 +100,10 @@ in { services.blueman.enable = true; - # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 5223 ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + # Open ports in the firewall + # 22000, 21027 syncthing discovery and connectivity + networking.firewall.allowedTCPPorts = [ 22000 ]; + networking.firewall.allowedUDPPorts = [ 21027 22000 ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/thrall/default.nix b/hosts/thrall/default.nix index 3eb7eb4..56cd004 100644 --- a/hosts/thrall/default.nix +++ b/hosts/thrall/default.nix @@ -331,7 +331,7 @@ in { folders = { "org" = { path = "/home/alex/org"; - devices = [ "redmi" ]; + devices = [ "redmi" "dregil" ]; }; "scan" = { path = "/home/alex/media/scan"; @@ -347,6 +347,10 @@ in { id = "C43WITF-2HS2UCD-X6QFM4H-SC7XQJ7-X5F73EB-7FZHMII-KQNSH5D-NMICIAW"; }; + "dregil" = { + id = + "SMVQO7Q-EB2V7PC-B4LP5IN-SM2UUE4-FUI2RI4-LARFW3S-LXHPAT5-FLNY7QH"; + }; }; }; };