From 43db5323dc629c7cba22f9b2795473577ac88eae Mon Sep 17 00:00:00 2001 From: matt1432 Date: Fri, 26 Jan 2024 22:23:29 -0500 Subject: [PATCH] fix(cluster): make sure headscale has IP --- devices/cluster/modules/pacemaker.nix | 6 +++--- flake.lock | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devices/cluster/modules/pacemaker.nix b/devices/cluster/modules/pacemaker.nix index a9f6ee3..d64c06c 100644 --- a/devices/cluster/modules/pacemaker.nix +++ b/devices/cluster/modules/pacemaker.nix @@ -40,19 +40,19 @@ in { "unbound" = { enable = true; group = "caddy-grp"; - startAfter = ["caddy"]; + startAfter = ["caddy-vip"]; }; "blocky" = { enable = true; group = "caddy-grp"; - startAfter = ["unbound"]; + startAfter = ["caddy-vip"]; }; "headscale" = { enable = true; group = "caddy-grp"; - startAfter = ["blocky"]; + startAfter = ["caddy-vip"]; }; }; diff --git a/flake.lock b/flake.lock index ec748fb..feb141b 100644 --- a/flake.lock +++ b/flake.lock @@ -1044,11 +1044,11 @@ "nixpkgs-pacemaker": "nixpkgs-pacemaker" }, "locked": { - "lastModified": 1706319439, - "narHash": "sha256-bsKLDWLv+jCsQ4ToNkDwJT1tbJusekVzE84nRRX3Zko=", + "lastModified": 1706324661, + "narHash": "sha256-mApmcg3D+mbTvOXlThLD+G4yMK3/SN0jbL8yZDFpGdo=", "owner": "matt1432", "repo": "nixos-pacemaker", - "rev": "09659272afc0790e08d19b608aaa4a06eb989803", + "rev": "060a819e97bb94805bda5ae70f1d6fd0baa27e3d", "type": "github" }, "original": {