aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien <adrien@luxeylab.net>2023-03-15 18:19:01 +0100
committerAdrien <adrien@luxeylab.net>2023-03-15 18:19:01 +0100
commitf7be968531a61bc9c08c03cda416784dc70ae546 (patch)
tree4a1eb25881d157d884d8d1526a63ee2cb19d617a
parent1a2ff3f6b943da9b5fc9867d8d18eb38c24282ac (diff)
downloadnixcfg-f7be968531a61bc9c08c03cda416784dc70ae546.tar.gz
nixcfg-f7be968531a61bc9c08c03cda416784dc70ae546.zip
TODOs in deuxfleurs.nix because the old world is maybe mixing with the new
-rw-r--r--cluster/prod/app/core/deploy/core-system.hcl2
-rw-r--r--cluster/prod/app/garage/deploy/garage.hcl2
-rw-r--r--nix/deuxfleurs.nix4
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";
};