Now I want to adjust the (start) timeout of this device in my system configuration, but there are no systemd.devices.* options, only for services etc. How can I adjust this timeout?
Background: I have a setup where I can either boot into my nixos, or where I can boot the nixos from another OS through Virtualbox’s raw physical disk access. When I boot natively however, the dev-vboxguest.device won’t appear (which makes sense), but causes a 90s delay in my boot process.
And enable the device that appears when booting natively with a similar unit that specifies ConditionVirtualization=none instead.
Edit 2:
Everything works fine during boot, but without specifying ConditionVirtualization=oracle for dev-vboxguest.device, it seems that nixos-rebuild switch tries to start dev-vboxguest.device (or probably rather virtualbox.service) and times out waiting for, taking 1:30m again.