extneder: use bridge module

doc-do-over
Daniel Barlow 2023-08-31 18:29:45 +01:00
parent 7faf620c0b
commit e577caa15f
2 changed files with 3 additions and 4 deletions

View File

@ -31,6 +31,7 @@ in rec {
imports = [
../modules/wlan.nix
../modules/vlan
../modules/network
../modules/hostapd
../modules/bridge
@ -88,9 +89,8 @@ in rec {
};
};
services.int = interface {
type = "bridge";
device = "int";
services.int = svc.bridge.primary.build {
ifname = "int";
};
services.dhcpc = svc.network.dhcp.client.build {

View File

@ -5,7 +5,6 @@
}:
{ ifname } :
let
inherit (liminix.networking) interface;
inherit (liminix.services) bundle oneshot;
inherit (lib) mkOption types;
in oneshot rec {