add qemu and virt-viewer

This commit is contained in:
2024-03-27 19:58:23 +05:30
parent 61c35c31d7
commit 007c82cdb4

View File

@ -4,12 +4,20 @@
...
}: {
virtualisation = {
libvirtd.enable = true;
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [pkgs.OVMFFull.fd];
};
};
};
users.users.${username}.extraGroups = ["libvirtd"];
environment.systemPackages = with pkgs; [
virt-manager
virt-viewer
];
}