mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
nixos/tests/cadvisor.nix: get rid of with lib
This commit is contained in:
parent
6d1287bb75
commit
ba6bc92d5e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user