add shfmt and shellcheck to system-wide neovim packages

This commit is contained in:
Noah Masur 2022-07-05 17:18:08 -04:00
parent 7093ba7791
commit faa7f74773
2 changed files with 4 additions and 3 deletions

View File

@ -13,9 +13,8 @@
if test "$argv[1]" = "offline" if test "$argv[1]" = "offline"
set option "--option substitute false" set option "--option substitute false"
end end
pushd ${config.dotfilesPath} commandline -r "git -C ${config.dotfilesPath} add --all"
git add --all commandline -f execute
popd
commandline -r "darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook" commandline -r "darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook"
commandline -f execute commandline -f execute
''; '';

View File

@ -5,6 +5,8 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
neovim neovim
gcc # for tree-sitter gcc # for tree-sitter
shfmt # used everywhere
shellcheck # used everywhere
]; ];
xdg.configFile = { xdg.configFile = {