nixcfg/nixosModules/apps/virt-manager/default.nix

18 lines
337 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.apps.virt-manager.enable =
lib.mkEnableOption "Enables virt-manager with TPM and EFI support.";
};
config = lib.mkIf config.alyraffauf.apps.virt-manager.enable {
programs.virt-manager.enable = true;
2024-04-07 22:16:33 -04:00
virtualisation = {libvirtd.enable = true;};
};
}