too much to mention

This commit is contained in:
2024-11-02 18:48:19 +01:00
parent 1dfce7fd9b
commit 11fd6bc478
17 changed files with 222 additions and 102 deletions

View File

@ -0,0 +1,4 @@
{ ... }:
{
imports = [ ./virtualization.nix ];
}

View File

@ -0,0 +1,27 @@
{ config, pkgs, ... }: {
boot.kernelModules = [ "kvm-amd" ];
virtualisation = {
docker = {
enable = true;
autoPrune.enable = true;
daemon.settings = {
"live-restore" = false;
};
};
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [ pkgs.OVMF.fd ];
};
};
};
};
}