dotfiles/nixos/virtualbox.nix

20 lines
517 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;
2019-10-14 23:39:04 +01:00
enableHardening = true;
package = pkgs.virtualbox.override { enable32bitGuests = false; };
2019-07-07 12:08:00 +01:00
};
}