Unverified Commit 96e208a6 authored by Adam Stephens's avatar Adam Stephens
Browse files

nixos/tests/consul: enable unfree

parent b0e2f850
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;
          {