Initial commit
This commit is contained in:
11
modules/development/virt-manager.nix
Normal file
11
modules/development/virt-manager.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
hasGui = config.services.dbus.implementation == "dbus";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf hasGui
|
||||
{
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user