quitte: fix hosts

This commit is contained in:
Rouven Seifert 2024-02-03 20:02:15 +01:00
parent 948570032b
commit 175e2750ce
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -1,4 +1,4 @@
{ config, ... }: { config, lib, ... }:
let let
wireguard_port = 51820; wireguard_port = 51820;
in in
@ -10,6 +10,11 @@ in
}; };
networking = { 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"; hostId = "a71c81fc";
domain = "ifsr.de"; domain = "ifsr.de";
hostName = "quitte"; hostName = "quitte";