···55let
66 cfg = config.virtualisation.virtualbox.host;
77 virtualbox = config.boot.kernelPackages.virtualbox.override {
88- inherit (cfg) enableHardening;
88+ inherit (cfg) enableHardening headless;
99 };
10101111in
···4545 Disabling this can put your system's security at risk, as local users
4646 in the vboxusers group can tamper with the VirtualBox device files.
4747 </para></important>
4848+ '';
4949+ };
5050+5151+ headless = mkOption {
5252+ type = types.bool;
5353+ default = false;
5454+ description = ''
5555+ Use VirtualBox installation without GUI and Qt dependency. Useful to enable on servers
5656+ and when virtual machines are controlled only via SSH.
4857 '';
4958 };
5059 };