1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/nixos/modules
Bjørn Forsman b20fdff521 nixos/prometheus: make scrapeConfigs.*.static_configs.*.labels optional
...by providing a default value of "no labels" (an empty attrset).

Without this change we get

  $ nixos-rebuild test -I nixpkgs=.
  building Nix...
  building the system configuration...
  error: The option `services.prometheus.scrapeConfigs.[definition 1-entry 1].static_configs.[definition 1-entry 1].labels' is used but not defined.

which is unneeded, because labels _are_ optional.
2016-12-25 15:38:55 +01:00
..
config /etc/hosts and /etc/nsswitch.conf cleanups 2016-12-17 16:01:35 +01:00
hardware bumblebee service: replace bbswitch option with pmMethod 2016-11-22 02:35:12 +03:00
i18n/input-method ibus: refresh cache at startup 2016-10-03 05:25:41 -05:00
installer nixos-rebuild: Fix SSHOPTS typo 2016-12-18 22:39:27 +01:00
misc nixos/keystone: init at liberty version 2016-12-16 20:53:32 +01:00
profiles nixos: disable sound for minimal ISO 2016-11-23 02:24:13 +01:00
programs fix indentation in several nixos option descriptions 2016-12-16 18:29:25 +01:00
security grsecurity doc: describe work-around for gitlab 2016-12-08 11:59:57 +01:00
services nixos/prometheus: make scrapeConfigs.*.static_configs.*.labels optional 2016-12-25 15:38:55 +01:00
system systemd: add slice support 2016-12-20 10:49:08 +01:00
tasks network-interfaces: use enum 2016-11-16 22:37:57 +09:00
testing virtualisation.qemu.program: Remove 2016-12-20 10:52:46 +01:00
virtualisation docker: use upstream service file from package 2016-12-25 00:09:13 +01:00
module-list.nix nixos/keystone: init at liberty version 2016-12-16 20:53:32 +01:00
rename.nix tarsnap service: fix multiple simultaneous archives with a single key 2016-11-20 19:15:52 +03:00