nix/modules/virtualisation.nix
2024-02-12 11:49:35 +01:00

17 lines
358 B
Nix

{ config, lib, pkgs, ... }: lib.mkIf config.bchmnn.virtualisation.enable {
# virt-manager
virtualisation = {
docker = {
enable = true;
storageDriver = "btrfs";
};
libvirtd.enable = true;
};
programs = {
dconf.enable = true;
virt-manager.enable = true;
};
environment.systemPackages = with pkgs; [ virtiofsd ];
}