dotfiles/nixos/virtualbox.nix

19 lines
445 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;
};
}