git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/virtualbox: Revert disable hardening.

This reverts commit 5d67b17901ff2c9a18647bd9453c6b0d4294b875. The issues have been resolved by ac603e208c98b260db675fa0c13be94fa95216f4. Tested this with hostonlyifs and USB support with extension pack. Conflicts: nixos/modules/programs/virtualbox-host.nix Signed-off-by: aszlig <aszlig@redmoonstudios.org> Tested-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>

commitf7384b8c75a17689aca3a53617b937e1bf67b417 authoraszlig <aszlig@redmoonstudios.org> dateThu 18 Dec 2014, 18:12 (12 years ago) parent06e6d7d
1 file changed+1−8
nixos/modules/programs/virtualbox-host.nix+1−8
nixos/modules/programs/virtualbox-host.nix+1−8
@@ -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;