From 6440e9bbfd22800cc5f967445fce9cc86e2ca0cd Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 13 Aug 2015 12:17:32 +0200 Subject: nixos/vbox: Move all options to virtualisation.*. Commit 687caeb renamed services.virtualboxHost to programs.virtualbox, but according to the discussion on the commit, it's probably a better to put it into virtualisation.virtualbox instead. The discussion can be found here: https://github.com/NixOS/nixpkgs/commit/687caeb#commitcomment-12664978 Signed-off-by: aszlig --- nixos/modules/virtualisation/virtualbox-guest.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'nixos/modules/virtualisation/virtualbox-guest.nix') diff --git a/nixos/modules/virtualisation/virtualbox-guest.nix b/nixos/modules/virtualisation/virtualbox-guest.nix index 6c4014fc4a1e..642ea3154b1b 100644 --- a/nixos/modules/virtualisation/virtualbox-guest.nix +++ b/nixos/modules/virtualisation/virtualbox-guest.nix @@ -6,7 +6,7 @@ with lib; let - cfg = config.services.virtualboxGuest; + cfg = config.virtualisation.virtualbox.guest; kernel = config.boot.kernelPackages; in @@ -15,20 +15,11 @@ in ###### interface - options = { - - services.virtualboxGuest = { - - enable = mkOption { - default = false; - description = "Whether to enable the VirtualBox service and other guest additions."; - }; - - }; - + options.virtualisation.virtualbox.guest.enable = mkOption { + default = false; + description = "Whether to enable the VirtualBox service and other guest additions."; }; - ###### implementation config = mkIf cfg.enable { -- cgit 1.4.1