nixpkgs/nixos/modules
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
..
config Merge pull request #113804 from rnhmjoj/no-udev-settle-2 2021-02-22 23:22:04 +01:00
hardware nixos/ksm: remove udev-settle dependency 2021-02-26 22:10:10 +01:00
i18n/input-method fcitx5: update doc 2021-01-24 02:10:23 +01:00
installer installer: fixup sd-card folder move from #110827 2021-02-21 16:12:54 -05:00
misc nixos: Get rid of systemConfig kernel parameter 2021-02-18 12:48:08 +01:00
profiles nixos/hidepid: drop the module as the hidepid mount option is broken 2021-02-21 13:51:37 +01:00
programs Merge pull request #113714 from ilian/steam-firewall 2021-03-07 14:22:16 +01:00
security Merge pull request #111635 from xaverdh/hide-pid-broken 2021-02-23 00:20:29 +01:00
services nixos/prometheus/exporters: fix eval if only openFirewall = true; is set 2021-03-13 15:21:55 +01:00
system Merge pull request #90065 from wizeman/u/fix-config-merge 2021-03-08 21:34:59 +01:00
tasks Merge pull request #111786 from flokli/systemd-247.3 2021-02-12 12:52:49 +01:00
testing nixos/service-runner: fix evaluation 2021-02-05 13:02:56 +01:00
virtualisation Merge pull request #112332 from urbas/amazon-init-options 2021-03-07 18:39:05 +01:00
module-list.nix Merge pull request #93629 from ju1m/croc 2021-03-12 20:34:33 -05:00
rename.nix nixos/hidepid: drop the module as the hidepid mount option is broken 2021-02-21 13:51:37 +01:00