Vagrant doesn't work with VirtualBox

Vagrant fails to run any virtualbox machines for me, is there any way to fix this?
I am using vagrant 2.4.3 from nixpkgs-stable-25.05

❯ vagrant up
Ignoring debug-1.9.2 because its extensions are not built. Try: gem pristine debug --version 1.9.2
Ignoring racc-1.7.3 because its extensions are not built. Try: gem pristine racc --version 1.7.3
Ignoring rbs-3.4.0 because its extensions are not built. Try: gem pristine rbs --version 3.4.0
Ignoring debug-1.9.2 because its extensions are not built. Try: gem pristine debug --version 1.9.2
Ignoring racc-1.7.3 because its extensions are not built. Try: gem pristine racc --version 1.7.3
Ignoring rbs-3.4.0 because its extensions are not built. Try: gem pristine rbs --version 3.4.0
Ignoring debug-1.9.2 because its extensions are not built. Try: gem pristine debug --version 1.9.2
Ignoring racc-1.7.3 because its extensions are not built. Try: gem pristine racc --version 1.7.3
Ignoring rbs-3.4.0 because its extensions are not built. Try: gem pristine rbs --version 3.4.0
Bringing machine 'default' up with 'virtualbox' provider...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["list", "hostonlyifs"]

Stderr: Oracle VirtualBox Command Line Management Interface Version 7.1.12
Copyright (C) 2005-2025 Oracle and/or its affiliates

VBoxManage: error: Unknown subcommand "hostonlyifs".

Usage - View system information and VM configuration details:

  VBoxManage list [--long] [--platform-arch= x86 | arm] [--sorted] [bridgedifs
      | cloudnets | cloudprofiles | cloudproviders | cpu-profiles | dhcpservers
      | dvds | extpacks | floppies | groups | hddbackends | hdds | hostcpuids |
      hostdrives | hostdvds | hostfloppies | hostinfo | hostonlyifs |
      hostonlynets | intnets | natnets | ostypes | ossubtypes | runningvms |
      screenshotformats | systemproperties | usbfilters | usbhost | vms |
      webcams]