diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-06-13 00:44:20 -0700 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-06-13 00:44:20 -0700 |
commit | 53033e39e3902f194d78c5ff86f78f43143213b5 (patch) | |
tree | 6f9e98e076d348393d9b6a6adee7d7cabc826234 | |
parent | 5e8cc86818d4ac793a943273385dbaa0c7424b22 (diff) | |
download | nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar.gz nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar.bz2 nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar.lz nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar.xz nix-53033e39e3902f194d78c5ff86f78f43143213b5.tar.zst nix-53033e39e3902f194d78c5ff86f78f43143213b5.zip |
Fix multiple condition syntax
-rw-r--r-- | hosts/darkstar/default.nix | 16 |
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" ]; }; |