Loading
nixos/network-interfaces: allow setting virtualOwner to null
null will not set owner, allowing any user to access the virtual device. Previously, this behavior can be achieved by using systemd.network.netdevs.* options direcly and leaving systemd.network.netdevs.<name>.tapConfig.User unset. With this patch, this behavior can be achieved using the generic networking.interfaces.* options by setting networking.interfaces.<name>.virtualOwner to null. If needed, we can change the default value from "root" to null in the future to be consistent with systemd-networkd's default behavior.