networking: remove nachtigall + flora-6 from /etc/hosts
Some checks failed
Flake checks / Check (pull_request) Failing after 4s

to reduce suprises when DNS records are different depending on the host.

For wireguard IPs, we should use the *.wg.pub.solar DNS records instead.
This commit is contained in:
teutat3s 2024-06-01 17:01:14 +02:00
parent 0286719dce
commit 04b05a9c2d
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -27,11 +27,6 @@
# Don't expose SSH via public interfaces
networking.firewall.interfaces.wg-ssh.allowedTCPPorts = [ 22 ];
networking.hosts = {
"10.7.6.1" = [ "nachtigall.${config.pub-solar-os.networking.domain}" ];
"10.7.6.2" = [ "flora-6.${config.pub-solar-os.networking.domain}" ];
};
services.openssh = {
enable = true;
openFirewall = lib.mkDefault false;