Last active
August 4, 2025 17:19
-
-
Save Intey/6a81812d17719b2b704c1509faa7b72a to your computer and use it in GitHub Desktop.
dev environment with neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ description = "Neovim Qt with NVChad configuration"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachSystem [ "x86_64-linux" ] (system: let | |
pkgs = import nixpkgs { | |
inherit system; | |
overlays = [ | |
# Optional: custom overlay if needed | |
]; | |
}; | |
in { | |
devShells.default = pkgs.mkShell { | |
buildInputs = [ | |
pkgs.neovim | |
pkgs.git | |
pkgs.ripgrep | |
pkgs.ast-grep | |
pkgs.unzip | |
pkgs.go | |
pkgs.zsh | |
]; | |
shellHook = '' | |
if [[ ! -d "$HOME/.oh-my-zsh" ]]; | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
zsh | |
fi | |
if [[ ! -d "$HOME/.config/nvim" ]]; then | |
echo "Cloning NVChad..." | |
mkdir -p "$HOME/.config/nvim" | |
git clone https://github.com/NvChad/started.git "$HOME/.config/nvim" | |
fi | |
''; | |
}; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment