removed virt

This commit is contained in:
twoneis 2023-11-26 00:35:34 +01:00
parent 23b2935c54
commit a430009d87
2 changed files with 0 additions and 43 deletions

View file

@ -5,7 +5,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
../gnome ../gnome
../virt
]; ];
#Optimise nix store #Optimise nix store

View file

@ -1,42 +0,0 @@
{ pkgs, ... }: {
boot = {
kernelModules = [
"vfio_pci"
"vfio"
"vfio_iommu_type1"
"vfio_virqfd"
];
kernelParams = [
"amd_iommu=on"
];
};
programs.dconf.enable = true;
users.users.twoneis.extraGroups = [ "libvirtd" ];
environment.systemPackages = with pkgs; [
virt-manager
virt-viewer
spice
spice-gtk
spice-protocol
win-virtio
win-spice
gnome.adwaita-icon-theme
];
virtualisation = {
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
spiceUSBRedirection.enable = true;
};
services.spice-vdagentd.enable = true;
}