removed virt
This commit is contained in:
parent
23b2935c54
commit
a430009d87
2 changed files with 0 additions and 43 deletions
|
@ -5,7 +5,6 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../gnome
|
../gnome
|
||||||
../virt
|
|
||||||
];
|
];
|
||||||
|
|
||||||
#Optimise nix store
|
#Optimise nix store
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue