dotfiles/provision/modules/programs/virt-manager.nix

14 lines
425 B
Nix
Raw Normal View History

2023-08-21 21:05:02 -07:00
{ config, lib, pkgs, ... }:
2024-10-26 19:05:14 -07:00
let cfg = config.modules.programs.virt-manager;
2023-08-21 21:05:02 -07:00
in {
2024-10-26 19:05:14 -07:00
options.modules.programs.virt-manager.enable = lib.mkEnableOption "virt-manager";
2023-08-21 21:05:02 -07:00
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
virt-manager # Desktop application for managing virtual machines through libvirt.
];
2024-10-26 19:05:14 -07:00
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
2023-08-21 21:05:02 -07:00
};
}