From 45d30408418261457ca029ee47aa5f94b2e445ff Mon Sep 17 00:00:00 2001 From: jwy Date: Mon, 26 Aug 2024 23:53:40 -0400 Subject: [PATCH] Added docker and mysql-workbench packages Added direnv to home manager config as well as a hook for zsh (for seamless dev environments w/ devShells) Added a typescript plugin for neovim --- nix-config/home/neovim.nix | 1 + nix-config/home/packages.nix | 10 ++++++++-- nix-config/home/zsh.nix | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/nix-config/home/neovim.nix b/nix-config/home/neovim.nix index d3d2b018f..ecfc48eeb 100644 --- a/nix-config/home/neovim.nix +++ b/nix-config/home/neovim.nix @@ -150,6 +150,7 @@ in { enable_autocmd = false; }; }; + typescript-tools.enable = true; which-key.enable = true; }; diff --git a/nix-config/home/packages.nix b/nix-config/home/packages.nix index 3c70278ab..3293ec126 100644 --- a/nix-config/home/packages.nix +++ b/nix-config/home/packages.nix @@ -13,7 +13,7 @@ in { libmpdclient playerctl mpd ncmpcpp mpc-cli pamixer # dev related alacritty wezterm geany rustup libvirt maim papirus-icon-theme joypixels zig gcc - lazygit xclip zoxide fzf fd zellij sesh + lazygit xclip zoxide fzf fd zellij sesh docker mysql-workbench # zsh related zsh zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting zsh-autocomplete @@ -45,5 +45,11 @@ in { # (import ./../scripts/list-hypr-bindings.nix { inherit pkgs; }) ]; - programs.gh.enable = true; + programs = { + direnv = { + enable = true; + nix-direnv.enable = true; + }; + gh.enable = true; + }; } diff --git a/nix-config/home/zsh.nix b/nix-config/home/zsh.nix index fdf047b78..83a067732 100644 --- a/nix-config/home/zsh.nix +++ b/nix-config/home/zsh.nix @@ -56,6 +56,7 @@ lib.mkIf (theShell == "zsh") { fi eval "$(starship init zsh)" eval "$(zoxide init zsh)" + eval "$(direnv hook zsh)" ''; initExtraFirst = '' HISTFILE=~/.histfile