From 8b32545af3803b198ae55b1fe77292623ea5e7a3 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sat, 16 Dec 2023 14:28:41 +0100 Subject: [PATCH] dregil: Define dregil as 127.0.0.1 --- hosts/dregil/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/dregil/configuration.nix b/hosts/dregil/configuration.nix index 1a54eaa..79f6f10 100644 --- a/hosts/dregil/configuration.nix +++ b/hosts/dregil/configuration.nix @@ -32,6 +32,10 @@ in { networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. + networking.extraHosts = '' + 127.0.0.1 localhost dregil.localdomain dregil + ''; + # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";