21 lines
441 B
Nix
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 ];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|