hosts: trying to improve connectivity

This commit is contained in:
Gabriel Fontes
2022-08-06 00:42:51 -03:00
parent 31961ad89f
commit 24c826f934
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -39,6 +39,11 @@
enableAllTerminfo = true;
};
services.resolved = {
enable = true;
domains = [ "misterio.me" ];
};
# Allows users to allow others on their binds
programs.fuse.userAllowOther = true;
+4 -1
View File
@@ -1,7 +1,10 @@
{ lib, persistence, ... }:
{
services.tailscale.enable = true;
networking.firewall.checkReversePath = "loose";
networking.firewall = {
checkReversePath = "loose";
allowedUDPPorts = [ 41641 ]; # Facilitate firewall punching
};
environment.persistence = lib.mkIf persistence {
"/persist".directories = [ "/var/lib/tailscale" ];