liminix-fork/modules/bridge/primary.nix

14 lines
204 B
Nix
Raw Normal View History

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