1
Fork 0
nixos-system-config/users/hu/packages/virt-manager.nix
2024-06-27 20:59:55 +02:00

21 lines
379 B
Nix

{ pkgs, ... }:
{
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd];
};
};
};
programs.virt-manager.enable = true;
}