set up ipv6

This commit is contained in:
Henry Hiles 2026-01-11 12:40:02 -05:00
commit 00debaaa80
No known key found for this signature in database
3 changed files with 25 additions and 2 deletions

View file

@ -1,3 +1,4 @@
{ lib, ... }:
{
services.dnsproxy = {
enable = true;
@ -9,5 +10,5 @@
};
};
environment.etc."resolv.conf".text = "nameserver 127.0.0.1";
environment.etc."resolv.conf".text = lib.mkForce "nameserver 127.0.0.1";
}

View file

@ -12,7 +12,10 @@
config = {
systemd.services.caddy.serviceConfig.Restart = lib.mkForce "always";
networking.firewall.allowedTCPPorts = [ 443 ];
networking.firewall.allowedTCPPorts = [
80
443
];
services.caddy = {
enable = true;
email = "henry@henryhiles.com";