diff --git a/nixos/systems/blowhole/nomad.nix b/nixos/systems/blowhole/nomad.nix index ae17b19..d8013c8 100644 --- a/nixos/systems/blowhole/nomad.nix +++ b/nixos/systems/blowhole/nomad.nix @@ -26,10 +26,6 @@ in }; }; - systemd.services.hashicorp-nomad.unitConfig = { - ConditionPathExists = "/run/secrets/nomad.json"; - }; - services.hashicorp.nomad = { enable = true; @@ -100,8 +96,8 @@ in "docker.privileged.enabled" = "true"; }; - host_network."default".cidr = secret.network.networks.home.mine or ""; - host_network."mesh".cidr = secret.network.networks.home.mine or ""; + host_network."default".cidr = secret.network.networks.home.amsterdam or ""; + host_network."mesh".cidr = secret.network.networks.home.vpn or ""; network_interface = "enp4s0"; @@ -156,6 +152,6 @@ in virtualisation.docker.enable = true; virtualisation.docker.daemon.settings.dns = [ - (secret.network.ips.blowhole or "") + (secret.network.ips.blowhole.ip or "") ]; }