mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
14 lines
424 B
Nix
14 lines
424 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let cfg = config.modules.programs.virt-manager;
|
|
in {
|
|
options.modules.programs.virt-manager.enable = lib.mkEnableOption "virt-manager";
|
|
config = lib.mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
virt-manager # Desktop application for managing virtual machines through libvirt
|
|
];
|
|
virtualisation.libvirtd.enable = true;
|
|
programs.dconf.enable = true;
|
|
};
|
|
}
|