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 = [
../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 {