VM stuff, not working rn
This commit is contained in:
parent
8159129886
commit
adc7f4e309
1 changed files with 13 additions and 3 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
# Install necessary packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
OVMFFull
|
||||
qemu
|
||||
qemu_kvm
|
||||
spice
|
||||
|
@ -43,10 +44,19 @@
|
|||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
runAsRoot = true;
|
||||
package = pkgs.qemu_kvm;
|
||||
runAsRoot = false;
|
||||
swtpm.enable = true;
|
||||
ovmf.enable = true;
|
||||
ovmf.packages = with pkgs; [ OVMFFull.fd ];
|
||||
ovmf = {
|
||||
enable = true;
|
||||
packages = with pkgs; [( OVMFFull.override {
|
||||
secureBoot = true;
|
||||
tpmSupport = true;
|
||||
httpSupport = true;
|
||||
}).fd];
|
||||
};
|
||||
# ovmf.enable = true;
|
||||
# ovmf.packages = with pkgs; [ OVMFFull.fd ];
|
||||
vhostUserPackages = with pkgs; [ virtiofsd ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue