Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created December 27, 2017 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueldr/91730f88a3e36fc10fb6367884f68ba5 to your computer and use it in GitHub Desktop.
Save samueldr/91730f88a3e36fc10fb6367884f68ba5 to your computer and use it in GitHub Desktop.
{ config, lib, pkgs, ... }:
{
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.enableKVM = true;
environment.systemPackages = with pkgs; [
virtmanager
virtviewer
];
# Enables nested virtualization.
boot.extraModprobeConfig = ''
options kvm-intel nested=1
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment