liminix-fork/modules/bridge/primary.nix
2023-08-05 14:10:14 +01:00

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";
}