summary refs log tree commit diff
path: root/nixos/modules/virtualisation
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-05-01 22:46:28 +0200
committerFlorian Klink <flokli@flokli.de>2018-05-01 22:47:54 +0200
commitd3527d947fa767e9d7eb54bc26be042992a46f13 (patch)
treeb73d56da80298edf6966c5b773c9f9cfbb72d358 /nixos/modules/virtualisation
parent92e559212a7d15b458f0229648f5685618db4ec8 (diff)
downloadnixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar.gz
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar.bz2
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar.lz
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar.xz
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.tar.zst
nixpkgs-d3527d947fa767e9d7eb54bc26be042992a46f13.zip
virtualisation.virtualbox.host: migrate from mkOption to mkEnableOption
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r--nixos/modules/virtualisation/virtualbox-host.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/virtualisation/virtualbox-host.nix b/nixos/modules/virtualisation/virtualbox-host.nix
index afb7b5fc031..885d752577d 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.