From d3527d947fa767e9d7eb54bc26be042992a46f13 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 1 May 2018 22:46:28 +0200 Subject: [PATCH] virtualisation.virtualbox.host: migrate from mkOption to mkEnableOption --- nixos/modules/virtualisation/virtualbox-host.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/virtualisation/virtualbox-host.nix b/nixos/modules/virtualisation/virtualbox-host.nix index afb7b5fc0311..885d752577d5 100644 --- a/nixos/modules/virtualisation/virtualbox-host.nix +++ b/nixos/modules/virtualisation/virtualbox-host.nix @@ -17,9 +17,7 @@ in { options.virtualisation.virtualbox.host = { - enable = mkOption { - type = types.bool; - default = false; + enable = mkEnableOption "VirtualBox" // { description = '' Whether to enable VirtualBox.