diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2024-07-17 08:55:39 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2024-07-17 09:50:25 +0200 |
| commit | ee2c718c9728d8aed9a014a57223fbd5ba8df5e9 (patch) | |
| tree | 011cf5f97f9595f898084dc7e662c33f71ac94dd /config/networking/bridges.nix | |
| parent | 607f2bd9f6422d5a448471a9bfc899eacabff1a6 (diff) | |
networking: replace dummy interface hack with ifplugd service
Diffstat (limited to 'config/networking/bridges.nix')
| -rw-r--r-- | config/networking/bridges.nix | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/config/networking/bridges.nix b/config/networking/bridges.nix index d8cd9e7..e423e03 100644 --- a/config/networking/bridges.nix +++ b/config/networking/bridges.nix @@ -12,21 +12,6 @@ in { sleep 3 ''); } - { - # create a bridge on top of enp3s0 along with a dummy interface - # for kea to work even when enp3s0 is disconnected - # if you change this, you may want to change: - # - the kea configuration in ./services/dhcp.nix - # - the eth0 net configuration ./default.nix - networking = { - bridges.eth0.interfaces = ["enp3s0" "enp3s0-dummy"]; - localCommands = '' - ip link add enp3s0-dummy type dummy - ''; - }; - boot.kernelModules = ["dummy"]; - systemd.services.network-addresses-enp3s0-dummy.enable = false; - } ] ++ (builtins.map (network: let bridge = network.interface; |
