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