nixvim: enable nix language support

This commit is contained in:
Khaïs COLIN 2024-07-27 15:34:57 +02:00
parent 88f6bd5e87
commit ea14e39241
3 changed files with 14 additions and 1 deletions

View file

@ -1,7 +1,12 @@
.PHONY: update
update:
update: flake.nix
home-manager switch --flake .#t470
flake.nix: nixvim
nixvim: nixvim/config/*.nix
nix flake lock --update-input nixvim-flake
.PHONY: clean
clean:
nix-collect-garbage --delete-older-than 30d

View file

@ -1,10 +1,15 @@
{
# Import all your configuration modules here
imports = [
# base config
./options.nix
./clipboard.nix
# appearence
./bufferline.nix
./lualine.nix
# language support
./nix.nix
];
}

3
nixvim/config/nix.nix Normal file
View file

@ -0,0 +1,3 @@
{
plugins.nix.enable = true;
}