configuration.nix/hosts/skipper/virtualisation.nix
2024-06-20 13:50:48 +05:30

21 lines
441 B
Nix

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