nixos/home/virt-manager/nixos.nix

9 lines
151 B
Nix

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