19 lines
517 B
Nix
19 lines
517 B
Nix
{ 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 = true;
|
|
package = pkgs.virtualbox.override { enable32bitGuests = false; };
|
|
};
|
|
}
|