diff options
author | Adam Stephens <adam@valkor.net> | 2024-02-21 08:41:06 -0500 |
---|---|---|
committer | Adam Stephens <adam@valkor.net> | 2024-02-21 08:41:06 -0500 |
commit | 96e208a60558f7a6acb7b51cff2ac6339ab28a23 (patch) | |
tree | ac7ea61324ee2f7eaed9904a67af04968cfcd9dd /nixos/tests/consul.nix | |
parent | b0e2f850516c4f570037da67a0b77c25a2218acf (diff) |
nixos/tests/consul: enable unfree
Diffstat (limited to 'nixos/tests/consul.nix')
-rw-r--r-- | nixos/tests/consul.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/consul.nix b/nixos/tests/consul.nix index 6233234ff083..c819312068dc 100644 --- a/nixos/tests/consul.nix +++ b/nixos/tests/consul.nix @@ -42,6 +42,8 @@ let ]; networking.firewall = firewallSettings; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "consul" ]; + services.consul = { enable = true; inherit webUi; @@ -65,6 +67,8 @@ let ]; networking.firewall = firewallSettings; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "consul" ]; + services.consul = assert builtins.elem thisConsensusServerHost allConsensusServerHosts; { |