Update nixvim

This commit is contained in:
iFargle 2024-02-08 11:42:16 +09:00
parent 4136c0dea8
commit 2ea52d5eb0
2 changed files with 23 additions and 1 deletions

View file

@ -46,7 +46,7 @@
# Hyprland Flake
hyprland.url = "github:hyprwm/Hyprland";
# nixvim - neovim configuration management in nix
nixvim.url = "github:nix-community/nixvim";
nixvim.url = "github:nix-community/nixvim/nixos-23.11";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, deploy-rs, ... } @inputs:

View file

@ -9,6 +9,28 @@
number = true;
shiftwidth = 2;
};
plugins = {
telescope.enable = true;
oil.enable = true;
treesitter.enable = true;
luasnip.enable = true;
lsp = {
enable = true;
servers = {
rust-analyzer = true;
};
};
nvim-cmp = {
enable = true;
autoEnableSources = true;
sources = [
{ name = "nvim_lsp"; }
{ name = "path"; }
{ name = "buffer"; }
];
};
};
colorschemes = {
tokyonight.enable = true;
};