From f7be968531a61bc9c08c03cda416784dc70ae546 Mon Sep 17 00:00:00 2001 From: Adrien Date: Wed, 15 Mar 2023 18:19:01 +0100 Subject: [PATCH] TODOs in deuxfleurs.nix because the old world is maybe mixing with the new --- cluster/prod/app/core/deploy/core-system.hcl | 2 +- cluster/prod/app/garage/deploy/garage.hcl | 2 +- nix/deuxfleurs.nix | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cluster/prod/app/core/deploy/core-system.hcl b/cluster/prod/app/core/deploy/core-system.hcl index 73a01e7..03886b4 100644 --- a/cluster/prod/app/core/deploy/core-system.hcl +++ b/cluster/prod/app/core/deploy/core-system.hcl @@ -1,5 +1,5 @@ job "core" { - datacenters = ["orion", "neptune", "bespin"] + datacenters = ["orion", "neptune", "bespin", "scorpio"] type = "system" priority = 90 diff --git a/cluster/prod/app/garage/deploy/garage.hcl b/cluster/prod/app/garage/deploy/garage.hcl index e660a92..99cd7c9 100644 --- a/cluster/prod/app/garage/deploy/garage.hcl +++ b/cluster/prod/app/garage/deploy/garage.hcl @@ -1,5 +1,5 @@ job "garage" { - datacenters = [ "neptune", "bespin", "orion" ] + datacenters = [ "neptune", "bespin", "orion", "scorpio" ] type = "system" priority = 80 diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index e0cb376..3a94860 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -227,7 +227,7 @@ in }; # Reach Unbound through the IP of our LAN interface, # instead of 127.0.0.1 (this will also work in Docker containers) - networking.nameservers = [ + networking.nameservers = [ # TODO remove this ? cfg.lan_ip ]; services.resolved.enable = false; @@ -297,7 +297,7 @@ in verify_outgoing = true; verify_server_hostname = true; }; - systemd.services.consul.serviceConfig = { + systemd.services.consul.serviceConfig = { # TODO remove this ? AmbientCapabilities = "CAP_NET_BIND_SERVICE"; };