nixpkgs/nixos/modules/services
Maximilian Bosch 22b61e5263
nixos/prometheus/exporters: fix eval if only openFirewall = true; is set
If `openFirewall = true`, but no `firewallFilter` is set, the evaluation
fails with the following error:

    The option `services.prometheus.exporters.node.firewallFilter` is defined both null and
    not null, in `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'
    and `/home/ma27/Projects/nixpkgs/nixos/modules/services/monitoring/prometheus/exporters.nix'.

Originally introduced by me in #115185. The problem is that
`mkOptionDefault` has - as its name suggests - the same priority as the
default-value of the option `firewallFilter` and thus it conflicts if
this declaration and the actual default value are set which is the case
if `firewallFilter` isn't specified somewhere else.
2021-03-13 15:21:55 +01:00
..
admin
amqp
audio nixos.spotifyd: fixed file not found error 2021-03-10 13:26:10 +01:00
backup Merge pull request #113620 from imlonghao/borgmatic 2021-03-10 18:13:04 +01:00
blockchain/ethereum nixos/geth: initial service 2021-02-23 19:28:51 +01:00
cluster nixos/kubernetes: docker -> containerd 2021-03-07 12:51:14 +10:00
computing
continuous-integration nixos/hydra: append application_name to HYDRA_DBI 2021-03-03 16:04:00 -08:00
databases nixos/mysql: properly configure mariadb for galera recovery 2021-02-17 15:50:20 -05:00
desktops pipewire: 0.3.22 -> 0.3.23 2021-03-05 00:41:02 +02:00
development
editors
games nixos/minetest-server: Fix port coercion 2021-02-25 19:03:13 +01:00
hardware nixos/acpid: clean up the module 2021-02-27 16:18:32 +01:00
logging
mail
misc nixos/mautrix-telegram: substitute secrets in config file at runtime (#112966) 2021-03-13 13:56:17 +01:00
monitoring nixos/prometheus/exporters: fix eval if only openFirewall = true; is set 2021-03-13 15:21:55 +01:00
network-filesystems
networking Merge pull request #93629 from ju1m/croc 2021-03-12 20:34:33 -05:00
printing nixos/printing: remove google cloud print 2021-02-18 02:21:38 +01:00
scheduling
search
security Merge pull request #106698 from aanderse/nixos/clamav 2021-02-24 22:57:41 -05:00
system
torrent
ttys
video
wayland
web-apps Merge pull request #111030 from cript0nauta/miniflux-sudo 2021-03-12 20:42:09 -05:00
web-servers Merge pull request #111011 from waldheinz/nginx-mem-write-exec 2021-03-03 07:19:35 -05:00
x11 Merge pull request #111551 from xaverdh/xserver-modern-drivers 2021-03-09 08:14:24 +01:00