diff --git a/boxes/desktop/home.nix b/boxes/desktop/home.nix index f0c7eb1..11d0ed7 100644 --- a/boxes/desktop/home.nix +++ b/boxes/desktop/home.nix @@ -131,13 +131,15 @@ in fi '') (pkgs.writeShellScriptBin "install_eslint" '' + set -x + cp /home/${config.home.username}/.config/.eslintrc.json . pkgs=("@stylistic/eslint-plugin" "@typescript-eslint/eslint-plugin") if [[ -z $1 ]]; then echo please specify npm, pnpm, or yarn exit 1 fi for i in "''${pkgs[@]}"; do - `$1 i $i` + `$1 i -D $i` done '') ];