mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
update
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
nvm = builtins.fetchGit {
|
||||
url = "https://github.com/nvm-sh/nvm";
|
||||
rev = "811c039e2b6fb305e6eb2269d7aa0d21eb067586";
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
../fzf
|
||||
../direnv
|
||||
@@ -57,5 +62,9 @@
|
||||
".shellrc/rc.d" = {
|
||||
source = ./files/shell/rc.d;
|
||||
};
|
||||
".nvm" = {
|
||||
source = nvm;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
3
user/programs/terminal/files/shell/rc.d/05-nvm.sh
Normal file
3
user/programs/terminal/files/shell/rc.d/05-nvm.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
Reference in New Issue
Block a user