mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Fix nomad on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
8a43af9076
commit
de385c1d60
|
@ -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 "")
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue