summaryrefslogtreecommitdiffstats
path: root/nixos/tests/cadvisor.nix
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-04-30 11:26:15 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-05-12 22:29:27 -0300
commitba6bc92d5edeb9cc8055bb43e767dcb84a6d9f37 (patch)
treef17aa3ff76a539e92ea3f57b839df7a7f3243c4b /nixos/tests/cadvisor.nix
parent6d1287bb756d22111e3770fbd24cb43629152759 (diff)
nixos/tests/cadvisor.nix: get rid of `with lib`
Diffstat (limited to 'nixos/tests/cadvisor.nix')
-rw-r--r--nixos/tests/cadvisor.nix8
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;