Migrate to nix-fast-build and update inputs
This commit is contained in:
parent
f86077a635
commit
f898ce3eae
8 changed files with 61 additions and 59 deletions
18
nixos-modules/virtualisation/default.nix
Normal file
18
nixos-modules/virtualisation/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
# TODO: This should probably be somewhere else.
|
||||
docker = {
|
||||
enable = true;
|
||||
enableOnBoot = false;
|
||||
};
|
||||
libvirtd.enable = true;
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
boot.extraModprobeConfig = ''
|
||||
options kvm_intel nested=1
|
||||
options kvm_intel emulate_invalid_guest_state=0
|
||||
options kvm ignore_msrs=1
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue