{ pkgs
, lib
, config
, ... }: with lib; let
gui = with config.global.gui; ( enable && session );
in mkIf gui {
programs.virt-manager.enable = true;
}