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

18 lines
337 B
Nix

{
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;
virtualisation = {libvirtd.enable = true;};
};
}