From 820cd1c047f0b2b52d48a5775225d786c12e3f42 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 1 May 2024 12:19:59 +0200 Subject: [PATCH] set some hostnames --- common.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/common.nix b/common.nix index 6bdd6ec..9ddd86d 100644 --- a/common.nix +++ b/common.nix @@ -87,8 +87,21 @@ }; networking.hosts = { - "192.168.88.251" = builtins.attrNames self.nixosConfigurations.mio-mio-mate.config.services.nginx.virtualHosts; - "192.168.88.1" = [ "router" ]; + "192.168.88.251" = (builtins.attrNames self.nixosConfigurations.mio-mio-mate.config.services.nginx.virtualHosts) + ++ [ + "dns" + self.nixosConfigurations.mio-mio-mate.config.networking.hostName + ]; + "192.168.88.252" = [ + self.nixosConfigurations.club-mate.config.networking.hostName + ]; + "192.168.88.253" = [ + self.nixosConfigurations.flora-mate.config.networking.hostName + "ap" + ]; + "192.168.88.1" = [ + "router" + ]; }; programs = {