summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-06-10 10:35:50 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-06-10 10:35:50 +0200
commite58f0f6c997ab6e1b62f30aea5d9c1fb8ec628ad (patch)
tree1e346767b4a6882a24fe41f73a9cfd283c007aea /nixos/modules/system
parent4416712772fbd893413342a2b8e5064c0c174b77 (diff)
parent80b51d983ae77f47910ba26305023efbfdb62e91 (diff)
Merge master into staging-next
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/networkd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 14a3832b0dc0..f1aa9064bef4 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -669,7 +669,7 @@ let
};
};
- commonMatchText = def: ''
+ commonMatchText = def: optionalString (def.matchConfig != {}) ''
[Match]
${attrsToSection def.matchConfig}
'';