From 1f43c4a4bac34313df46fc324c873a2ccd8862a2 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Fri, 25 Apr 2025 22:48:47 +0200 Subject: [PATCH] common: add loopback addresses for fqdn --- hosts/common/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 875e3f2..bf81978 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -53,6 +53,10 @@ in { "1.1.1.1" "8.8.8.8" ]; + hosts = { + "127.0.0.1" = [ config.networking.fqdnOrHostName ]; + "::1" = [ config.networking.fqdnOrHostName ]; + }; }; i18n.defaultLocale = "en_US.UTF-8";