@@ -35,7 +35,7 @@ in
3535
3636 enableHardening = mkOption {
3737 type = types.bool;
38− default = true;
38+ default = false;
3939 description = ''
4040 Enable hardened VirtualBox, which ensures that only the binaries in the
4141 system path get access to the devices exposed by the kernel modules
@@ -54,6 +54,13 @@ in
5454 boot.extraModulePackages = [ virtualbox ];
5555 environment.systemPackages = [ virtualbox ];
5656
57+ warnings = singleton (
58+ "Hardening is currently disabled for VirtualBox, because of some " +
59+ "issues in conjunction with host-only-interfaces. If you don't use " +
60+ "hostonlyifs, it's strongly recommended to set " +
61+ "`services.virtualboxHost.enableHardening = true'!"
62+ );
63+
5764 security.setuidOwners = let
5865 mkVboxStub = program: {
5966 inherit program;