diff options
author | Silvan Mosberger <contact@infinisil.com> | 2019-11-08 16:45:44 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2019-11-08 15:45:44 +0000 |
commit | 9fe4e068123146afda5f2b9a6d630ba76d1daff5 (patch) | |
tree | da257862d4ee94295ea68c34b138bf00ca1bda58 /nixos/modules/system | |
parent | 0132b040fc82791ad1375bad2383ab822acae13e (diff) |
nixos/systemd: Allow unit options to have multiple equal defs (#73024)
E.g. this allows systemd.services.<name?>.serviceConfig.DynamicUser = mkMerge [ true true ];
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index c1f2c98afcd8c..bee21f1a8f363 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -24,7 +24,7 @@ in rec { in if isList (head defs'') then concatLists defs'' - else mergeOneOption loc defs'; + else mergeEqualOption loc defs'; }; sharedOptions = { |