diff --git a/pkgs.json b/pkgs.json deleted file mode 100644 index 0637a08..0000000 --- a/pkgs.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/shell.nix b/shell.nix index ad4b133..b2cc22f 100644 --- a/shell.nix +++ b/shell.nix @@ -28,21 +28,28 @@ in { history.extended = true; sessionVariables = { - PATH = "/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$PATH"; + PATH = "/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$HOME/.nix-profile/bin:$PATH"; EDITOR = "nvim"; GOPATH = "$HOME/go"; }; initExtra = '' - source ~/.zshrc + if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then + . ~/.nix-profile/etc/profile.d/nix.sh; + export NIX_PATH=$HOME/.nix-defexpr/channels''${NIX_PATH:+:}$NIX_PATH + fi # added by Nix installer ''; oh-my-zsh = { enable = true; plugins = [ + "docker" + "docker-compose" + "dotenv" "git" + "sudo" ]; theme = "muse"; }; }; -} \ No newline at end of file +}