nixvim: enable nix language support
This commit is contained in:
parent
88f6bd5e87
commit
ea14e39241
3 changed files with 14 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -1,7 +1,12 @@
|
||||||
.PHONY: update
|
.PHONY: update
|
||||||
update:
|
update: flake.nix
|
||||||
home-manager switch --flake .#t470
|
home-manager switch --flake .#t470
|
||||||
|
|
||||||
|
flake.nix: nixvim
|
||||||
|
|
||||||
|
nixvim: nixvim/config/*.nix
|
||||||
|
nix flake lock --update-input nixvim-flake
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
nix-collect-garbage --delete-older-than 30d
|
nix-collect-garbage --delete-older-than 30d
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,15 @@
|
||||||
{
|
{
|
||||||
# Import all your configuration modules here
|
# Import all your configuration modules here
|
||||||
imports = [
|
imports = [
|
||||||
|
# base config
|
||||||
./options.nix
|
./options.nix
|
||||||
./clipboard.nix
|
./clipboard.nix
|
||||||
|
|
||||||
|
# appearence
|
||||||
./bufferline.nix
|
./bufferline.nix
|
||||||
./lualine.nix
|
./lualine.nix
|
||||||
|
|
||||||
|
# language support
|
||||||
|
./nix.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
3
nixvim/config/nix.nix
Normal file
3
nixvim/config/nix.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
plugins.nix.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue