From 175e2750cec96c34a8fa3941c36be39dbaf8e147 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 3 Feb 2024 20:02:15 +0100 Subject: [PATCH] quitte: fix hosts --- hosts/quitte/network.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/quitte/network.nix b/hosts/quitte/network.nix index 0e093d8..d1d038b 100644 --- a/hosts/quitte/network.nix +++ b/hosts/quitte/network.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, lib, ... }: let wireguard_port = 51820; in @@ -10,6 +10,11 @@ in }; networking = { + # portunus module does weird things to this, so we force it to some sane values + hosts = { + "127.0.0.1" = lib.mkForce ["quitte.ifsr.de" "quitte" ]; + "::1" = lib.mkForce ["quitte.ifsr.de" "quitte" ]; + }; hostId = "a71c81fc"; domain = "ifsr.de"; hostName = "quitte";