configuration.nix/hosts/skipper/virtualisation.nix

22 lines
441 B
Nix
Raw Normal View History

2023-11-04 16:12:45 +05:30
{ pkgs, ... }: {
2024-01-05 18:50:42 +05:30
environment.systemPackages = [ pkgs.docker-credential-helpers ];
2023-03-15 22:11:59 +05:30
virtualisation = {
2023-03-15 22:48:55 +05:30
docker = {
enable = true;
2024-06-20 13:50:48 +05:30
package = pkgs.docker_26;
2023-03-15 22:48:55 +05:30
storageDriver = "btrfs";
};
2024-03-23 15:53:21 +05:30
kvmgt.enable = true;
libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
ovmf = {
enable = true;
packages = [ pkgs.OVMFFull.fd ];
};
};
};
2023-03-15 22:11:59 +05:30
};
}