From 735b154c38f51bde9101d3603da08335d037e207 Mon Sep 17 00:00:00 2001
From: Mark Nipper <nipsy@bitgnome.net>
Date: Sun, 11 Aug 2024 13:42:33 -0700
Subject: Add ordering dependency for nftables-extra.service

---
 hosts/darkstar/default.nix | 1 +
 hosts/ginaz/default.nix    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index 78c9af7..5ceb0a6 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -116,6 +116,7 @@
       ];
     };
     wantedBy = [ "multi-user.target" ];
+    after = [ "nftables.service" ];
     partOf = [ "nftables.service" ];
   };
   systemd.paths."nftables-extra" = {
diff --git a/hosts/ginaz/default.nix b/hosts/ginaz/default.nix
index c48bed4..f14abf9 100644
--- a/hosts/ginaz/default.nix
+++ b/hosts/ginaz/default.nix
@@ -70,6 +70,7 @@
       ConditionPathExists = config.sops.secrets."nftables/ssh".path;
     };
     wantedBy = [ "multi-user.target" ];
+    after = [ "nftables.service" ];
     partOf = [ "nftables.service" ];
   };
   systemd.paths."nftables-extra" = {
-- 
cgit v1.2.3