Compare commits

..

2 commits

2 changed files with 10 additions and 1 deletions

View file

@ -10,6 +10,8 @@
};
server = {
ROOT_URL = "http://git.everest.sable-pancake.ts.net";
START_SSH_SERVER = true;
SSH_PORT = 4222;
};
};
};

View file

@ -20,7 +20,14 @@
};
};
systemd.units.tailscaled.requiredBy = [ "traefik.service" ];
systemd = {
units.tailscaled.requiredBy = [ "traefik.service" ];
# We have somewhat frequent power outages, and our ISP router takes
# ages to boot up. If I don't add a delay, traefik tries to bind to
# the tailscale interface before it's ready, making it crash too much
# in too little time
services.traefik.serviceConfig.RestartSec = 120;
};
networking.firewall.allowedTCPPorts = [ 80 8080 ];
}