nixos/tests/cadvisor.nix: get rid of with lib

This commit is contained in:
Anderson Torres 2023-04-30 11:26:15 -03:00
parent 6d1287bb75
commit ba6bc92d5e

View File

@ -1,15 +1,13 @@
import ./make-test-python.nix ({ pkgs, ... } : { import ./make-test-python.nix ({ lib, pkgs, ... } : {
name = "cadvisor"; name = "cadvisor";
meta = with pkgs.lib.maintainers; { meta.maintainers = with lib.maintainers; [ offline ];
maintainers = [ offline ];
};
nodes = { nodes = {
machine = { ... }: { machine = { ... }: {
services.cadvisor.enable = true; services.cadvisor.enable = true;
}; };
influxdb = { lib, ... }: with lib; { influxdb = { lib, ... }: {
services.cadvisor.enable = true; services.cadvisor.enable = true;
services.cadvisor.storageDriver = "influxdb"; services.cadvisor.storageDriver = "influxdb";
services.influxdb.enable = true; services.influxdb.enable = true;