nixos/systemd: Allow unit options to have multiple equal defs (#73024)

E.g. this allows

  systemd.services.<name?>.serviceConfig.DynamicUser =
    mkMerge [ true true ];
This commit is contained in:
Silvan Mosberger 2019-11-08 16:45:44 +01:00 committed by zimbatm
parent 0132b040fc
commit 9fe4e06812

@ -24,7 +24,7 @@ in rec {
in
if isList (head defs'')
then concatLists defs''
else mergeOneOption loc defs';
else mergeEqualOption loc defs';
};
sharedOptions = {