Make all casks greedy

This commit is contained in:
Nathan McCarty 2023-08-23 07:13:04 -04:00
parent c154358563
commit fa1eeab767
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:3elIBybO7zXuCg+/os7OlO2fwfRPXmObQjcHXBf7Hfg
4 changed files with 97 additions and 23 deletions

View File

@ -7,14 +7,22 @@ in with lib; {
# Inkscape # Inkscape
{ {
name = "inkscape"; name = "inkscape";
greedy = true;
} }
# 3dprinting # 3dprinting
{ {
name = "ultimaker-cura"; name = "ultimaker-cura";
greedy = true;
} }
# { name = "orcaslicer"; } # { name = "orcaslicer"; }
{ name = "freecad"; } {
{ name = "solvespace"; } name = "freecad";
greedy = true;
}
{
name = "solvespace";
greedy = true;
}
]; ];
}; };
} }

View File

@ -102,28 +102,77 @@ in {
}; };
taps = [ "homebrew/cask-versions" "homebrew/services" ]; taps = [ "homebrew/cask-versions" "homebrew/services" ];
casks = lib.mkMerge [ casks = lib.mkMerge [
(lib.mkIf config.nathan.programs.firefox [{ name = "firefox"; }]) (lib.mkIf config.nathan.programs.firefox [{
(lib.mkIf config.nathan.programs.virtualization [{ name = "utm"; }]) name = "firefox";
(lib.mkIf config.nathan.programs.devel.python [{ name = "miniconda"; }]) greedy = true;
}])
(lib.mkIf config.nathan.programs.virtualization [{
name = "utm";
greedy = true;
}])
(lib.mkIf config.nathan.programs.devel.python [{
name = "miniconda";
greedy = true;
}])
(lib.mkIf config.nathan.programs.communications.enable [ (lib.mkIf config.nathan.programs.communications.enable [
{ name = "discord"; } {
{ name = "betterdiscord-installer"; } name = "discord";
{ name = "signal"; } greedy = true;
{ name = "orangedrangon-android-messages"; } }
{ name = "messenger"; } {
{ name = "whalebird"; } name = "betterdiscord-installer";
{ name = "slack"; } greedy = true;
{ name = "zulip"; } }
{
name = "signal";
greedy = true;
}
{
name = "orangedrangon-android-messages";
greedy = true;
}
{
name = "messenger";
greedy = true;
}
{
name = "whalebird";
greedy = true;
}
{
name = "slack";
greedy = true;
}
{
name = "zulip";
greedy = true;
}
]) ])
# Unconditionally install core utilites # Unconditionally install core utilites
[ [
{ name = "keepingyouawake"; } {
{ name = "flux"; } name = "keepingyouawake";
{ name = "iterm2"; } greedy = true;
{ name = "gpg-suite"; } }
{ name = "amethyst"; } {
name = "flux";
greedy = true;
}
{
name = "iterm2";
greedy = true;
}
{
name = "gpg-suite";
greedy = true;
}
{
name = "amethyst";
greedy = true;
}
{ {
name = "podman-desktop"; name = "podman-desktop";
greedy = true;
} }
# Original is unmaintaned, wait for this fork # Original is unmaintaned, wait for this fork
# https://github.com/UeharaYou/HiddenBar # https://github.com/UeharaYou/HiddenBar

View File

@ -2,5 +2,10 @@
let np = config.nathan.programs; let np = config.nathan.programs;
in with lib; { in with lib; {
# Install media applications # Install media applications
config = mkIf np.games.enable { homebrew.casks = [{ name = "steam"; }]; }; config = mkIf np.games.enable {
homebrew.casks = [{
name = "steam";
greedy = true;
}];
};
} }

View File

@ -4,10 +4,22 @@ in with lib; {
# Install media applications # Install media applications
config = mkIf np.media.enable { config = mkIf np.media.enable {
homebrew.casks = [ homebrew.casks = [
{ name = "eqmac"; } {
{ name = "deadbeef-nightly"; } name = "eqmac";
{ name = "jellyfin-media-player"; } greedy = true;
{ name = "spotify"; } }
{
name = "deadbeef-nightly";
greedy = true;
}
{
name = "jellyfin-media-player";
greedy = true;
}
{
name = "spotify";
greedy = true;
}
]; ];
}; };
} }