Add virtualization module
This commit is contained in:
parent
4914c537cb
commit
9ddf94f567
|
@ -89,6 +89,7 @@
|
|||
./modules/hardware-configuration.nix
|
||||
./modules/networking.nix
|
||||
./modules/datasync.nix
|
||||
./modules/virtualization.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable virtualisation
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
onBoot = "ignore";
|
||||
onShutdown = "shutdown";
|
||||
qemuPackage = pkgs.qemu_kvm;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue