mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
nixos/network-interfaces-systemd: remove unused arg in genericDhcpNetworks
The first argument is not used (anymore).
This commit is contained in:
parent
1205aaa6bc
commit
0b65cf03f0
1 changed files with 20 additions and 22 deletions
|
@ -53,9 +53,7 @@ let
|
|||
)
|
||||
);
|
||||
|
||||
genericDhcpNetworks =
|
||||
initrd:
|
||||
mkIf cfg.useDHCP {
|
||||
genericDhcpNetworks = mkIf cfg.useDHCP {
|
||||
networks."99-ethernet-default-dhcp" = {
|
||||
matchConfig = {
|
||||
Type = "ether";
|
||||
|
@ -220,7 +218,7 @@ in
|
|||
# former, the user retains full control over the configuration.
|
||||
boot.initrd.systemd.network = mkMerge [
|
||||
defaultGateways
|
||||
(genericDhcpNetworks true)
|
||||
genericDhcpNetworks
|
||||
interfaceNetworks
|
||||
bridgeNetworks
|
||||
vlanNetworks
|
||||
|
@ -271,7 +269,7 @@ in
|
|||
enable = true;
|
||||
}
|
||||
defaultGateways
|
||||
(genericDhcpNetworks false)
|
||||
genericDhcpNetworks
|
||||
interfaceNetworks
|
||||
bridgeNetworks
|
||||
(mkMerge (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue