@@ -35,7 +35,7 @@ in
3535
3636 enableHardening = mkOption {
3737 type = types.bool;
38− default = false;
38+ default = true;
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,13 +54,6 @@ in
5454 boot.extraModulePackages = [ virtualbox ];
5555 environment.systemPackages = [ virtualbox ];
5656
57− warnings = mkIf (!cfg.enableHardening) (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−
6457 security.setuidOwners = let
6558 mkSuid = program: {
6659 inherit program;