mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-12 15:33:03 -04:00
modularize zsh args and add eslint_d alias
This commit is contained in:
parent
de910497fa
commit
4989c750ad
2 changed files with 33 additions and 25 deletions
|
@ -1,15 +1,28 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
node = pkgs.nodejs_22;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../prisma.nix
|
||||
../../../../customPackages
|
||||
../unstable.nix
|
||||
];
|
||||
programs = {
|
||||
zsh = {
|
||||
initExtra = ''
|
||||
eval "$(${node}/bin/node --completion-bash)"
|
||||
'';
|
||||
};
|
||||
};
|
||||
home = {
|
||||
shellAliases = {
|
||||
pd = "/home/meyer/dev/ts/pnpm/pnpm/dev/pd.js";
|
||||
webpack = "webpack-cli";
|
||||
pd = "/home/meyer/dev/ts/pnpm/pnpm/dev/pd.js";
|
||||
webpack = "webpack-cli";
|
||||
eslintd = "eslint_d";
|
||||
};
|
||||
packages = with pkgs;
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
cpkg.chrome-pak-customizer
|
||||
lemminx
|
||||
|
@ -20,11 +33,12 @@
|
|||
typescript
|
||||
unstable.eslint
|
||||
unstable.corepack_23
|
||||
nodejs_22
|
||||
node
|
||||
vsce
|
||||
esbuild
|
||||
unstable.pnpm
|
||||
] ++ (with pkgs.nodePackages; [
|
||||
]
|
||||
++ (with pkgs.nodePackages; [
|
||||
webpack-cli
|
||||
nodemon
|
||||
ts-node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue