liminix/modules/bridge/primary.nix

14 lines
204 B
Nix
Raw Normal View History

{
liminix
, lib
}:
2023-08-05 13:08:02 +00:00
{ ifname } :
let
inherit (liminix.networking) interface;
inherit (liminix.lib) typeChecked;
inherit (lib) mkOption types;
in interface {
device = ifname;
type = "bridge";
}