aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/darkstar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/darkstar/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/hosts/darkstar/default.nix b/hosts/darkstar/default.nix
index ae697ca..73f66fa 100644
--- a/hosts/darkstar/default.nix
+++ b/hosts/darkstar/default.nix
@@ -103,17 +103,21 @@
Type = "oneshot";
};
unitConfig = {
- ConditionPathExists = config.sops.secrets."nftables/forward".path;
- ConditionPathExists = config.sops.secrets."nftables/ssh".path;
- ConditionPathExists = config.sops.secrets."nftables/voip".path;
+ ConditionPathExists = [
+ config.sops.secrets."nftables/forward".path
+ config.sops.secrets."nftables/ssh".path
+ config.sops.secrets."nftables/voip".path
+ ];
};
wantedBy = [ "multi-user.target" ];
};
systemd.paths."nftables-extra" = {
pathConfig = {
- PathExists = config.sops.secrets."nftables/forward".path;
- PathExists = config.sops.secrets."nftables/ssh".path;
- PathExists = config.sops.secrets."nftables/voip".path;
+ PathExists = [
+ config.sops.secrets."nftables/forward".path
+ config.sops.secrets."nftables/ssh".path
+ config.sops.secrets."nftables/voip".path
+ ];
};
wantedBy = [ "multi-user.target" ];
};