Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add global greedy option in homebrew.* options caskArgs #1201

Open
x6ufeng opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@x6ufeng
Copy link

x6ufeng commented Nov 28, 2024

issue

Currently, to enable greedy updates for casks, we need to manually add the greedy option to each cask definition like this:

casks = [
{
name = "anytype";
greedy = true;
}
{
name = "vscodium";
greedy = true;
}
];

This becomes tedious and repetitive when managing multiple casks. It would be more convenient to have a global option in caskArgs, similar to how no_quarantine works:

homebrew = {
enable = true;
caskArgs = {
greedy = true; # Would apply to all casks
no_quarantine = true;
};
casks = [
"anytype"
"vscodium"
];
};

This would simplify configuration and maintain consistency across all casks while reducing the likelihood of configuration errors.

@x6ufeng x6ufeng changed the title Feature Request: Add global greedy option in caskArgs #52 Feature Request: Add global greedy option in homebrew.* options caskArgs #52 Nov 28, 2024
@x6ufeng x6ufeng changed the title Feature Request: Add global greedy option in homebrew.* options caskArgs #52 Feature Request: Add global greedy option in homebrew.* options caskArgs Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant