https://github.com/namescode/nvame
My personal Neovim Nix flake
https://github.com/namescode/nvame
Last synced: 9 days ago
JSON representation
My personal Neovim Nix flake
- Host: GitHub
- URL: https://github.com/namescode/nvame
- Owner: NamesCode
- Created: 2024-11-10T00:18:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T00:02:23.000Z (over 1 year ago)
- Last Synced: 2025-03-05T00:23:09.747Z (over 1 year ago)
- Language: Lua
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/CC-BY-SA-4.0.txt
Awesome Lists containing this project
README
# NVaMe
My personal Neovim flake!

## Includes
### Main config (`mainConfig`)
Neovim:
- Catppuccin Mocha + rainbow-delimeters
- Treesitter setup for plenty of languages
- LSP configuration for plenty of languages
- Completions and snippets (Provided by friendly-snippets)
- Telescope setup
- A Git intergrations with fugitive and git-signs
Bonus tools:
- ripgrep for faster live grepping
- fd for faster file finding
- nixfmt-rfc-style for formatting
- LSPs for Nix, Latex + text docs and Lua
## Usage
To get started all you need is a system with Nix installed!
If you don't have Nix installed, you shouldn't be looking at this anyway.
### Adding LSPs
The actual language servers themselves aren't installed (Besides the Nix, Latex and Lua LSP's).
This is intentional as ideally you should be installing the language servers within your projects devshell.
### Temporary usage
To run it once on a file just do:
`nix run github:namescode/nvame -- file.txt`
For use in a shell just do:
`nix shell github:namescode/nvame --command $SHELL`
### Installing as a package
Firstly add `nvame.url = "github:namescode/nvame";` to your inputs; this will pull in the flake for use.
Then, install the packages you need through `inputs.nvame.packages.${system}` (Make sure to pass `inputs` as an attribute)
For example:
```nix
environment.systemPackages = with pkgs; [
git
hyfetch
# Installs the main nvame config
(inputs.nvame.packages.${system}.mainConfig)
];
```