Add virtualization utilities

This commit is contained in:
Nathan McCarty 2023-03-27 20:05:12 -04:00
parent ffe4a6c26b
commit dbaf21d658
No known key found for this signature in database
1 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,9 @@ in {
enable = mkDefaultOption "Communication applications" enable = mkDefaultOption "Communication applications"
config.nathan.config.isDesktop; config.nathan.config.isDesktop;
}; };
# Virtualization
virtualization =
mkDefaultOption "Virtualization" config.nathan.config.isDesktop;
}; };
}; };
}; };
@ -68,6 +71,10 @@ in {
}; };
casks = lib.mkMerge [ casks = lib.mkMerge [
(lib.mkIf config.nathan.programs.firefox [{ name = "firefox"; }]) (lib.mkIf config.nathan.programs.firefox [{ name = "firefox"; }])
(lib.mkIf config.nathan.programs.virtualization [
{ name = "crossover"; }
{ name = "utm"; }
])
(lib.mkIf config.nathan.programs.communications.enable [ (lib.mkIf config.nathan.programs.communications.enable [
{ name = "discord"; } { name = "discord"; }
{ name = "betterdiscord-installer"; } { name = "betterdiscord-installer"; }