mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03: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";
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user