dotfiles/nixos/virtualbox.nix

19 lines
417 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
{
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
virtualisation.virtualbox.host = {
enable = true;
enableExtensionPack = true;
enableHardening = false;
2019-07-07 08:56:14 +01:00
};
}