https://github.com/nuschtos/nvim.nix
https://github.com/nuschtos/nvim.nix
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nuschtos/nvim.nix
- Owner: NuschtOS
- License: mit
- Created: 2024-05-12T14:59:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T03:42:42.000Z (over 1 year ago)
- Last Synced: 2025-04-12T04:24:14.017Z (over 1 year ago)
- Language: Nix
- Size: 188 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# nvim.nix
## Usage
```nix
# flake.nix
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixvim = {
url = "github:nix-community/nixvim/nixos-unstable";
inputs.nixpkgs.follows = "nixpkgs";
};
nvim = {
url = "github:NuschtOS/nvim.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
```
### NixOS
```nix
# configuration.nix
{
imports = [ inputs.nvim.nixosModules.nvim ];
# See
# for available options.
programs.nixvim.enable = true;
}
```
### Home-Manager
```nix
# home.nix
{
imports = [ inputs.nvim.homeManagerModules.nvim ];
# See
# for available options.
programs.nixvim.enable = true;
}
```
### Package
```nix
{
environment.systemPackages = [ inputs.nvim.packages.x86_64-linux.nixvim ];
}
```
```nix
{
environment.systemPackages = [
(inputs.nvim.packages.x86_64-linux.nixvimWithOptions {
inherit pkgs;
# See
# for available options.
options.enableMan = false;
})
];
}
```