pihole and dots
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user