nixpkgs/nixos/modules
aszlig 2d5a31a3ef
Merge pull request #112819 (mkIf in systemd units)
@thelegy writes:

  unitOption is only used inside of attrsOf wich is perfectly capable of
  handling the attrsets from mkIf, though the checkUnitConfig test
  forbids it.

  This commit weakens that restriction to allow the usage of mkIf inside
  of systemd.services.<name>.serviceConfig.<something> etc.

While I personally don't like that we can't easily use
pushDownProperties from the module system and need to rely on internals,
we *already* use internals for the mkOverride case, so adding another
case for mkIf doesn't add a hard-to-find indirection.

I'm merging this, since this fixes a valid use case and it shouldn't
make refactoring worse than before.
2021-02-13 05:24:11 +01:00
..
config treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
hardware Merge pull request #111996 from rnhmjoj/i2c 2021-02-06 18:22:34 +01:00
i18n/input-method fcitx5: update doc 2021-01-24 02:10:23 +01:00
installer lib: Clean up how linux and gcc config is specified 2021-01-23 10:01:28 -05:00
misc nixos/dysnomia nixos/disnix: Drop modules 2021-01-27 11:27:09 +01:00
profiles qemu-guest: remove security.rngd setting 2021-01-27 18:27:34 +01:00
programs nixos/captive-browser: make it work without a fixed interface 2021-02-12 14:35:51 +08:00
security Merge pull request #108819 from SuperSandro2000/nginx-module 2021-01-30 21:46:35 +01:00
services treewide: update 21.03 to 21.05 2021-02-12 14:12:48 -08:00
system nixos/systemd-lib: allow mkIf in unitOption 2021-02-11 22:18:21 +01:00
tasks zfs: disable smartmontools mail functionality 2021-02-06 22:04:00 -08:00
testing nixos/service-runner: fix evaluation 2021-02-05 13:02:56 +01:00
virtualisation Merge pull request #111924 from saschagrunert/cri-o-oci-hook 2021-02-06 12:03:44 +01:00
module-list.nix nixos/mastodon: init 2021-02-12 15:37:15 +00:00
rename.nix nixos.flashpolicyd: drop 2021-02-08 09:38:48 -08:00