pihole and dots

This commit is contained in:
2026-01-16 18:33:53 -06:00
parent 66d2dde112
commit 6cd5770452
3 changed files with 123 additions and 22 deletions

View File

@@ -77,6 +77,7 @@
cnameRecords = [
"traefik.local,local.internal.esotericbytes.com"
"pihole.local,local.internal.esotericbytes.com"
"hass.local,local.internal.esotericbytes.com"
];
};
@@ -85,7 +86,7 @@
};
};
unbound = {
/*unbound = {
enable = true;
resolveLocalQueries = false;
@@ -122,29 +123,15 @@
];
};
};
};*/
};
users.users."root" = {
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICe6Ito5m9c4Tij8zI74L8hnd/QRchEO/cc5CH94mjMC nathan@homebox"
];
};
networking = {
firewall.allowedTCPPorts = [ 22 5335 ];
firewall.allowedTCPPorts = [ 5335 ];
firewall.allowedUDPPorts = [ 5335 ];
#nameservers = [ "1.1.1.1" "1.0.0.1" ];
};
services.openssh = {
enable = true;
settings = {
PermitRootLogin = lib.mkForce "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
nameservers = [ "1.1.1.1" "1.0.0.1" ];
};
system.stateVersion = "25.05";