nixos/tests/consul: enable unfree
This commit is contained in:
parent
b0e2f85051
commit
96e208a605
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue