wehhhh
This commit is contained in:
parent
d616cdca1f
commit
b3d97cdc5f
35 changed files with 110 additions and 13 deletions
19
hosts/focalor/vfio.nix
Normal file
19
hosts/focalor/vfio.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
programs.virt-manager.enable = true;
|
||||
virtualisation.spiceUSBRedirection.enable = true;
|
||||
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];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.extraUsers.regent.extraGroups = [ "libvirtd" ];
|
Loading…
Add table
Add a link
Reference in a new issue