diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix index 2a6d00296303..1c745bec5ec6 100644 --- a/nixos/modules/tasks/network-interfaces.nix +++ b/nixos/modules/tasks/network-interfaces.nix @@ -65,9 +65,6 @@ let } ); - # We must escape interfaces due to the systemd interpretation - subsystemDevice = interface: "sys-subsystem-net-devices-${escapeSystemdPath interface}.device"; - addrOpts = v: assert v == 4 || v == 6;