# vim: ts=2 {config, ...}: { systemd.network.netdevs = { "tab0" = { netdevConfig = { Name = "tap0"; Kind = "tap"; }; tapConfig = { User = "${config.users.users.soispha.username}"; Group = "libvirt"; }; }; "br0" = { netdevConfig = { Name = "br0"; Kind = "bridge"; }; }; }; networking.bridges = { br1 = { interfaces = [ # TODO don't use hardcoded names "enp4s0" "tap0" ]; }; }; }