home(virt-manager): add virt-manager settings

This commit is contained in:
514fpv 2024-01-04 13:51:17 +08:00
parent 7ea261dcdb
commit 45c23af9ed
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{ pkgs
, lib
, config
, ... }: with lib; let
gui = with config.faucet.gui; ( enable && session );
in mkIf gui {
programs.virt-manager.enable = true;
}