From 5d64e0d03218870c54f536f6b7af967f4cf08960 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 1 May 2024 12:09:13 +0200 Subject: [PATCH] auto generate hostnames for webserver --- common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.nix b/common.nix index d34e31e..a354948 100644 --- a/common.nix +++ b/common.nix @@ -87,7 +87,7 @@ }; networking.hosts = { - "192.168.88.251" = [ "wiki.it3" ]; + "192.168.88.251" = builtins.attrNames self.nixosConfigurations.mio-mio-mate.config.services.nginx.virtualHosts; "192.168.88.1" = [ "router" ]; };