feat(nixos): add bashrc to home.nx to allow scripts to be loaded into user PATH
This commit is contained in:
parent
e7932bd12b
commit
876cdb0f65
2 changed files with 10 additions and 0 deletions
7
home.nix
7
home.nix
|
@ -9,6 +9,12 @@
|
|||
# recursive = true;
|
||||
# };
|
||||
|
||||
home.file."bin" = {
|
||||
source = ./scripts;
|
||||
recursive = true;
|
||||
executable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
fastfetch
|
||||
neovim
|
||||
|
@ -52,6 +58,7 @@
|
|||
};
|
||||
bashrcExtra = ''
|
||||
eval $(thefuck --alias)
|
||||
export PATH="$PATH:$HOME/bin"
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
3
scripts/gs
Executable file
3
scripts/gs
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
git status
|
Loading…
Add table
Add a link
Reference in a new issue