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
|
||||
services.consul.enable = true;
|
||||
systemd.services.consul.after = [ "wg-quick-wg0.service" ];
|
||||
services.consul.extraConfig =
|
||||
(if cfg.is_raft_server
|
||||
then { server = true; }
|
||||
|
@ -269,6 +270,7 @@ in
|
|||
};
|
||||
|
||||
services.nomad.enable = true;
|
||||
systemd.services.nomad.after = [ "wg-quick-wg0.service" ];
|
||||
services.nomad.package = pkgs.nomad_1_3;
|
||||
services.nomad.extraPackages = [
|
||||
pkgs.glibc
|
||||
|
|
Loading…
Reference in a new issue