homebrew: allow setting greedy for all casks by default
This commit is contained in:
parent
adf5c88ba1
commit
e2361f4496
1 changed files with 10 additions and 1 deletions
|
|
@ -502,7 +502,9 @@ let
|
|||
[](#opt-homebrew.caskArgs) for the available options.
|
||||
'';
|
||||
};
|
||||
greedy = mkNullOrBoolOption {
|
||||
greedy = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = cfg.greedyCasks;
|
||||
description = ''
|
||||
Whether to always upgrade this cask regardless of whether it's unversioned or it updates
|
||||
itself.
|
||||
|
|
@ -631,6 +633,13 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
greedyCasks = mkNullOrBoolOption {
|
||||
description = ''
|
||||
Whether to always upgrade casks listed in [](#opt-homebrew.casks) regardless
|
||||
of whether it's unversioned or it updates itself.
|
||||
'';
|
||||
};
|
||||
|
||||
brews = mkOption {
|
||||
type = with types; listOf (coercedTo str (name: { inherit name; }) (submodule brewOptions));
|
||||
default = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue