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

14 lines
276 B
Nix

{ 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 ]; };
}