diff --git a/nix/os/devices/steveej-t480s-work/system.nix b/nix/os/devices/steveej-t480s-work/system.nix index 7d3aa74..30b26d5 100644 --- a/nix/os/devices/steveej-t480s-work/system.nix +++ b/nix/os/devices/steveej-t480s-work/system.nix @@ -11,8 +11,14 @@ in { networking.hostName = "steveej-t480s-work"; # Define your hostname. # Used for testing local Openshift clusters - environment.etc."NetworkManager/dnsmasq.d/tectonic.conf".text = '' - server=/openshift.testing/192.168.126.1 + environment.etc."NetworkManager/dnsmasq.d/openshift.conf".text = + let + openshiftClusterName = "openshift-steveej"; + openshiftDomain = "openshift.testing"; + openshiftSubnetBase = "192.168.126"; + in '' + server=/${openshiftDomain}/${openshiftSubnetBase}.1 + address=/.apps.${openshiftClusterName}.${openshiftDomain}/${openshiftSubnetBase}.51 ''; networking.firewall.enable = lib.mkForce false; networking.firewall.checkReversePath = false;