diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-22 13:30:00 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-22 13:30:00 +0100 |
commit | 8d363d2e66a14bef88626efe133a9c9d9ff9041a (patch) | |
tree | 9d223ca9b43a5a4baa3ea42d9518e977c9085120 | |
parent | 6659deb5445d3b29b35833f5cec2654800eee993 (diff) | |
download | nixcfg-8d363d2e66a14bef88626efe133a9c9d9ff9041a.tar.gz nixcfg-8d363d2e66a14bef88626efe133a9c9d9ff9041a.zip |
Add after config on nomad and consul
-rw-r--r-- | nix/deuxfleurs.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/deuxfleurs.nix b/nix/deuxfleurs.nix index 7f62a42..5e87e5d 100644 --- a/nix/deuxfleurs.nix +++ b/nix/deuxfleurs.nix @@ -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 |