some updates
This commit is contained in:
parent
e09709c638
commit
e9adb6d552
6 changed files with 46 additions and 5 deletions
|
|
@ -43,10 +43,24 @@
|
|||
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.ovmf.enable = true;
|
||||
qemu.runAsRoot = false;
|
||||
# qemu.ovmf.enable = true;
|
||||
# qemu.runAsRoot = false;
|
||||
onBoot = "ignore";
|
||||
onShutdown = "shutdown";
|
||||
qemu = {
|
||||
package = pkgs.qemu_kvm;
|
||||
runAsRoot = true;
|
||||
swtpm.enable = true;
|
||||
ovmf = {
|
||||
enable = true;
|
||||
packages = [
|
||||
(pkgs.OVMF.override {
|
||||
secureBoot = true;
|
||||
tpmSupport = true;
|
||||
}).fd
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.extraGroups.libvirtd.members = [ "${user}" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue