dotfiles/nixos/virtualbox.nix

20 lines
518 B
Nix
Raw Normal View History

2019-07-07 08:56:14 +01:00
{ config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
2019-07-07 12:08:00 +01:00
{
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
2019-07-07 08:56:14 +01:00
};
};
2019-07-07 12:08:00 +01:00
virtualisation.virtualbox.host = {
enable = true;
enableExtensionPack = true;
enableHardening = false;
2019-07-10 19:20:50 +01:00
package = pkgs.virtualbox.override { enable32bitGuests = false; };
2019-07-07 12:08:00 +01:00
};
}