mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-27 06:25:23 +00:00
Merge pull request #62902 from rvolosatovs/fix/systemd-networkd-match
systemd-networkd: Only generate [Match] if present
This commit is contained in:
commit
c66fe5a161
@ -669,7 +669,7 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
commonMatchText = def: ''
|
||||
commonMatchText = def: optionalString (def.matchConfig != {}) ''
|
||||
[Match]
|
||||
${attrsToSection def.matchConfig}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user