13 lines
204 B
Nix
13 lines
204 B
Nix
{
|
|
liminix
|
|
, lib
|
|
}:
|
|
{ ifname } :
|
|
let
|
|
inherit (liminix.networking) interface;
|
|
inherit (liminix.lib) typeChecked;
|
|
inherit (lib) mkOption types;
|
|
in interface {
|
|
device = ifname;
|
|
type = "bridge";
|
|
}
|