configuration.nix/hosts/skipper/virtualisation.nix
2024-03-23 15:53:30 +05:30

20 lines
409 B
Nix

{ pkgs, ... }: {
environment.systemPackages = [ pkgs.docker-credential-helpers ];
virtualisation = {
docker = {
enable = true;
storageDriver = "btrfs";
};
kvmgt.enable = true;
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
ovmf = {
enable = true;
packages = [ pkgs.OVMFFull.fd ];
};
};
};
};
}