feat: add more virtualisation tools

This commit is contained in:
Swarsel 2024-12-03 18:48:57 +01:00
parent 54fd478358
commit ee75c17c0a
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
3 changed files with 49 additions and 5 deletions

View file

@ -42,7 +42,24 @@
};
};
virtualisation.docker.enable = true;
virtualisation = {
docker.enable = true;
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];
};
};
};
};
environment.systemPackages = with pkgs; [
# (python39.withPackages (ps: with ps; [