forked from DGNum/liminix
extneder: use bridge module
This commit is contained in:
parent
7faf620c0b
commit
e577caa15f
2 changed files with 3 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
}:
|
||||
{ ifname } :
|
||||
let
|
||||
inherit (liminix.networking) interface;
|
||||
inherit (liminix.services) bundle oneshot;
|
||||
inherit (lib) mkOption types;
|
||||
in oneshot rec {
|
||||
|
|
Loading…
Reference in a new issue