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
{
name = "inkscape";
greedy = true;
}
# 3dprinting
{
name = "ultimaker-cura";
greedy = true;
}
# { 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" ];
casks = lib.mkMerge [
(lib.mkIf config.nathan.programs.firefox [{ name = "firefox"; }])
(lib.mkIf config.nathan.programs.virtualization [{ name = "utm"; }])
(lib.mkIf config.nathan.programs.devel.python [{ name = "miniconda"; }])
(lib.mkIf config.nathan.programs.firefox [{
name = "firefox";
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 [
{ name = "discord"; }
{ name = "betterdiscord-installer"; }
{ name = "signal"; }
{ name = "orangedrangon-android-messages"; }
{ name = "messenger"; }
{ name = "whalebird"; }
{ name = "slack"; }
{ name = "zulip"; }
{
name = "discord";
greedy = true;
}
{
name = "betterdiscord-installer";
greedy = true;
}
{
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
[
{ name = "keepingyouawake"; }
{ name = "flux"; }
{ name = "iterm2"; }
{ name = "gpg-suite"; }
{ name = "amethyst"; }
{
name = "keepingyouawake";
greedy = true;
}
{
name = "flux";
greedy = true;
}
{
name = "iterm2";
greedy = true;
}
{
name = "gpg-suite";
greedy = true;
}
{
name = "amethyst";
greedy = true;
}
{
name = "podman-desktop";
greedy = true;
}
# Original is unmaintaned, wait for this fork
# https://github.com/UeharaYou/HiddenBar

View File

@ -2,5 +2,10 @@
let np = config.nathan.programs;
in with lib; {
# 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
config = mkIf np.media.enable {
homebrew.casks = [
{ name = "eqmac"; }
{ name = "deadbeef-nightly"; }
{ name = "jellyfin-media-player"; }
{ name = "spotify"; }
{
name = "eqmac";
greedy = true;
}
{
name = "deadbeef-nightly";
greedy = true;
}
{
name = "jellyfin-media-player";
greedy = true;
}
{
name = "spotify";
greedy = true;
}
];
};
}