extneder: use bridge module

This commit is contained in:
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 = [ imports = [
../modules/wlan.nix ../modules/wlan.nix
../modules/vlan
../modules/network ../modules/network
../modules/hostapd ../modules/hostapd
../modules/bridge ../modules/bridge
@ -88,9 +89,8 @@ in rec {
}; };
}; };
services.int = interface { services.int = svc.bridge.primary.build {
type = "bridge"; ifname = "int";
device = "int";
}; };
services.dhcpc = svc.network.dhcp.client.build { services.dhcpc = svc.network.dhcp.client.build {

View file

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