nixos/network: remove 99-main.network
Just maching all network interfaces caused many breakages, see #18962 and #71106. We already don't support the global networking.useDHCP, networking.defaultGateway(6) options if networking.useNetworkd is enabled, but direct users to configure the per-device networking.interfaces.<name?>.… options.
This commit is contained in:
@@ -76,15 +76,6 @@ in
|
||||
};
|
||||
in mkMerge [ {
|
||||
enable = true;
|
||||
networks."99-main" = (genericNetwork mkDefault) // {
|
||||
# We keep the "broken" behaviour of applying this to all interfaces.
|
||||
# In general we want to get rid of this workaround but there hasn't
|
||||
# been any work on that.
|
||||
# See the following issues for details:
|
||||
# - https://github.com/NixOS/nixpkgs/issues/18962
|
||||
# - https://github.com/NixOS/nixpkgs/issues/61629
|
||||
matchConfig = mkDefault { Name = "*"; };
|
||||
};
|
||||
}
|
||||
(mkMerge (forEach interfaces (i: {
|
||||
netdevs = mkIf i.virtual ({
|
||||
|
||||
Reference in New Issue
Block a user