forked from M-Labs/it-infra
Revert "nixops: install libvirtd, add virtualized-gpu specialisation"
doesn't work on MSI motherboards
This reverts commit b2382ad8b4
.
This commit is contained in:
parent
255f8f4d8a
commit
5fcc2a8548
|
@ -22,15 +22,6 @@ in
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
specialisation = {
|
|
||||||
virtualized-gpu.configuration = {
|
|
||||||
boot.kernelParams = ["intel_iommu=on"];
|
|
||||||
boot.kernelModules = ["vfio_pci" "vfio"];
|
|
||||||
boot.blacklistedKernelModules = ["amdgpu"];
|
|
||||||
boot.extraModprobeConfig = "options vfio-pci ids=1002:67df,1002:aaf0";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking.hostName = host;
|
networking.hostName = host;
|
||||||
networking.firewall.allowedTCPPorts = [ 1883 ];
|
networking.firewall.allowedTCPPorts = [ 1883 ];
|
||||||
|
|
||||||
|
@ -58,14 +49,10 @@ in
|
||||||
vscode-extensions.matklad.rust-analyzer
|
vscode-extensions.matklad.rust-analyzer
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
virt-manager spice-gtk
|
|
||||||
(import ./fish-nix-shell)
|
(import ./fish-nix-shell)
|
||||||
];
|
];
|
||||||
programs.wireshark.enable = true;
|
programs.wireshark.enable = true;
|
||||||
programs.wireshark.package = pkgs.wireshark;
|
programs.wireshark.package = pkgs.wireshark;
|
||||||
virtualisation.libvirtd.enable = true;
|
|
||||||
virtualisation.libvirtd.qemuOvmf = true;
|
|
||||||
security.wrappers.spice-client-glib-usb-acl-helper.source = "${pkgs.spice-gtk}/bin/spice-client-glib-usb-acl-helper";
|
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.forwardX11 = true;
|
services.openssh.forwardX11 = true;
|
||||||
|
|
Loading…
Reference in New Issue