Loading
nixos/virtualbox-guest: Limit access to /dev/vboxuser
Permitting all users read-write access to the /dev/vboxuser device is
not needed and rather a security issue. So, remove the read-write
access to "other" users and only permit access to seat sessions by
adding the uaccess tag.
Also, since robot-like configurations might depend on the access to
this device as well, create the group `vboxuserdev` and change the group
ownership of the device accordingly permitting trusted system users
access to it.
Tested and verified with a graphical session that the VirtualBox guest
boots and works.
Signed-off-by:
Felix Singer <felixsinger@posteo.net>