Merge pull request #156083 from Luflosi/fix-test-networking.networkd.static

nixos/networkd: fix networking.networkd.static test
This commit is contained in:
pennae 2022-01-22 01:04:48 +00:00 committed by GitHub
commit 745802b18e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@ in
};
};
});
networks."40-${i.name}" = mkMerge [ (genericNetwork mkDefault) {
networks."40-${i.name}" = mkMerge [ (genericNetwork id) {
name = mkDefault i.name;
DHCP = mkForce (dhcpStr
(if i.useDHCP != null then i.useDHCP else false));