mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 19:11:54 -05:00
16 lines
312 B
Nix
16 lines
312 B
Nix
{ pkgs, lib, config, ... }: {
|
|
|
|
options = {
|
|
apps.virt-manager.enable =
|
|
lib.mkEnableOption "Enables virt-manager with TPM and EFI support.";
|
|
};
|
|
|
|
config = lib.mkIf config.apps.virt-manager.enable {
|
|
|
|
programs.virt-manager.enable = true;
|
|
|
|
virtualisation = { libvirtd.enable = true; };
|
|
|
|
};
|
|
}
|