nix-config/home/features/virtualization/qemu.nix

15 lines
278 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.features.virtualization.qemu;
in {
options.features.virtualization.qemu.enable =
mkEnableOption "install qemu tools";
config =
mkIf cfg.enable {home.packages = with pkgs; [virt-manager virtiofsd];};
}