diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-30 11:26:15 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-12 22:29:27 -0300 |
commit | ba6bc92d5edeb9cc8055bb43e767dcb84a6d9f37 (patch) | |
tree | f17aa3ff76a539e92ea3f57b839df7a7f3243c4b /nixos/tests/cadvisor.nix | |
parent | 6d1287bb756d22111e3770fbd24cb43629152759 (diff) |
nixos/tests/cadvisor.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/cadvisor.nix')
-rw-r--r-- | nixos/tests/cadvisor.nix | 8 |
1 files changed, 3 insertions, 5 deletions
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; |