1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos/modules/system
Jan Beinke 97718a3584
nixos/systemd-lib: allow mkIf in unitOption
`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.
2021-02-11 22:18:21 +01:00
..
activation Revert "nixos/top-level: add specialisation.<name>.configuration type" 2021-02-05 17:49:06 +01:00
boot nixos/systemd-lib: allow mkIf in unitOption 2021-02-11 22:18:21 +01:00
etc treewide: completely remove types.loaOf 2020-09-02 00:42:50 +02:00