diff --git a/nixos/tests/cadvisor.nix b/nixos/tests/cadvisor.nix index c372dea301d2..70e068fcf21c 100644 --- a/nixos/tests/cadvisor.nix +++ b/nixos/tests/cadvisor.nix @@ -1,15 +1,13 @@ -import ./make-test-python.nix ({ pkgs, ... } : { +import ./make-test-python.nix ({ lib, pkgs, ... } : { name = "cadvisor"; - meta = with pkgs.lib.maintainers; { - maintainers = [ offline ]; - }; + meta.maintainers = with lib.maintainers; [ offline ]; nodes = { machine = { ... }: { services.cadvisor.enable = true; }; - influxdb = { lib, ... }: with lib; { + influxdb = { lib, ... }: { services.cadvisor.enable = true; services.cadvisor.storageDriver = "influxdb"; services.influxdb.enable = true;