use nvim lua instead of nixvim again

This commit is contained in:
Noa Aarts 2024-03-27 14:03:40 +01:00
parent 24e235063f
commit 38ff8d7b71

View file

@ -1,16 +1,24 @@
{ config, pkgs, inputs, ... }: { pkgs, lib, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
# needed for the nvim config, neovim itself is a system package already # needed for the nvim config, neovim itself is a system package already
ripgrep ripgrep
]; ];
programs.nixvim = { programs.neovim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
viAlias = true; viAlias = true;
vimAlias = true; vimAlias = true;
extraConfig = lib.fileContents ./nvim.lua;
};
programs.nixvim = {
enable = false;
defaultEditor = true;
viAlias = true;
vimAlias = true;
colorschemes.tokyonight = { colorschemes.tokyonight = {
enable = true; enable = true;
style = "night"; style = "night";