Add extraBinPackages for adding to $PATH
and use it to make sure Doom's essential prerequisites are available.
This commit is contained in:
parent
9b1356765b
commit
c61cd622b7
4 changed files with 30 additions and 1 deletions
|
|
@ -121,6 +121,17 @@ in {
|
|||
Doom cannot specify that package using the '(package! ...)' syntax.
|
||||
'';
|
||||
};
|
||||
extraBinPackages = mkOption {
|
||||
default = [
|
||||
config.programs.ripgrep.package
|
||||
config.programs.git.package
|
||||
config.programs.fd.package
|
||||
];
|
||||
type = types.listOf types.package;
|
||||
defaultText = literalExpression
|
||||
"[ programs.ripgrep.package programs.git.package programs.fd.package ]";
|
||||
description = "Extra packages to add to Doom's $PATH.";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue