Migrate all jobs to thingvellir

This commit is contained in:
marc
2024-02-18 19:33:57 +01:00
parent 2e3dad1c1b
commit 4f70bf991c
5 changed files with 48 additions and 40 deletions

View File

@@ -24,6 +24,7 @@ in
# services.consul.enable = true;
services.nomad = {
enable = true;
dropPrivileges = false;
extraSettingsPaths = [ "/etc/nomad.d" ];
};
@@ -51,10 +52,10 @@ in
target = "nomad.d/server.json";
source = ../../config/nomad.d/server.json;
};
} // lib.optionalAttrs cfg.host-config {
} // lib.optionalAttrs (! isNull cfg.host-config) {
# Host-specific configuration
nomad-host-cfg = {
target = "nomad.d/host.json";
target = "nomad.d/host.hcl";
source = cfg.host-config;
};
};

View File

@@ -11,7 +11,7 @@ in
# See https://github.com/tailscale/tailscale/issues/4432
networking = {
firewall.checkReversePath = "loose";
nameservers = [ "100.80.195.56" ];
nameservers = [ "100.99.167.21" ];
networkmanager.dns = "none";
};
services.tailscale.enable = true;