forked from Deuxfleurs/nixcfg
Add after config on nomad and consul
This commit is contained in:
parent
6659deb544
commit
8d363d2e66
1 changed files with 2 additions and 0 deletions
|
@ -230,6 +230,7 @@ in
|
||||||
|
|
||||||
# Enable Hashicorp Consul & Nomad
|
# Enable Hashicorp Consul & Nomad
|
||||||
services.consul.enable = true;
|
services.consul.enable = true;
|
||||||
|
systemd.services.consul.after = [ "wg-quick-wg0.service" ];
|
||||||
services.consul.extraConfig =
|
services.consul.extraConfig =
|
||||||
(if cfg.is_raft_server
|
(if cfg.is_raft_server
|
||||||
then { server = true; }
|
then { server = true; }
|
||||||
|
@ -269,6 +270,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nomad.enable = true;
|
services.nomad.enable = true;
|
||||||
|
systemd.services.nomad.after = [ "wg-quick-wg0.service" ];
|
||||||
services.nomad.package = pkgs.nomad_1_3;
|
services.nomad.package = pkgs.nomad_1_3;
|
||||||
services.nomad.extraPackages = [
|
services.nomad.extraPackages = [
|
||||||
pkgs.glibc
|
pkgs.glibc
|
||||||
|
|
Loading…
Reference in a new issue