feat(home-manager): add local directories to PATH
This adds local `vendor/bin` and `node_modules/.bin` directories to my `PATH` so I can more quickly and easily run binaries within a project from within those directories without needing to include the path.
This commit is contained in:
parent
9bf205edd8
commit
7e8fc3c86f
|
@ -29,6 +29,7 @@ in
|
|||
LANG = "en_GB.UTF-8";
|
||||
LC_ALL = "en_GB.UTF-8";
|
||||
LC_CTYPE = "en_GB.UTF-8";
|
||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||
};
|
||||
|
|
|
@ -10,7 +10,20 @@ inputs.home-manager.lib.homeManagerConfiguration {
|
|||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
{ imports = [ shared-config ]; }
|
||||
{ home.packages = shared-packages; }
|
||||
{
|
||||
imports = [ shared-config ];
|
||||
|
||||
home.packages = shared-packages;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
# LANG = "en_GB.UTF-8";
|
||||
# LC_ALL = "en_GB.UTF-8";
|
||||
# LC_CTYPE = "en_GB.UTF-8";
|
||||
PATH = "$PATH:./vendor/bin:./node_modules/.bin";
|
||||
PULUMI_SKIP_UPDATE_CHECK = "true";
|
||||
RIPGREP_CONFIG_PATH = "$HOME/.config/ripgrep/config";
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue