diff --git a/desktop/developer.nix b/desktop/developer.nix index 16b9985..7d6cb67 100644 --- a/desktop/developer.nix +++ b/desktop/developer.nix @@ -5,6 +5,7 @@ let in { options.aviallon.developer = { enable = mkEnableOption "enable developer mode on this machine"; + virtualbox.unstable = mkEnableOption "use unstable virtualbox"; }; config = mkIf cfg.enable { system.nixos.tags = [ "developer" ]; @@ -68,6 +69,13 @@ in { host.enableHardening = false; # Causes kernel build failures }; + nixpkgs.overlays = [] + ++ optional cfg.virtualbox.unstable (final: prev: { + virtualbox = final.unstable.virtualbox; + virtualboxExtpack = final.unstable.virtualboxExtpack; + }) + ; + environment.extraOutputsToInstall = [ "doc" "info" "dev" "debug" "static" ];