networking: remove nachtigall + flora-6 from /etc/hosts
Some checks failed
Flake checks / Check (pull_request) Failing after 4s
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:
parent
0286719dce
commit
04b05a9c2d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue