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";
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;