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

14 lines
276 B
Nix
Raw Normal View History

2023-02-05 13:36:38 +00:00
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.virtualization.qemu;
in {
2023-02-05 13:51:12 +00:00
options.features.virtualization.qemu.enable =
mkEnableOption "install qemu tools";
2023-02-05 13:36:38 +00:00
config =
mkIf cfg.enable { home.packages = with pkgs; [ virt-manager virtiofsd ]; };
2023-02-01 11:38:23 +00:00
}