From 38ff8d7b71df9855ebb85e71940f44222535cf86 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Wed, 27 Mar 2024 14:03:40 +0100 Subject: [PATCH] use nvim lua instead of nixvim again --- common/nvim/nvim.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/common/nvim/nvim.nix b/common/nvim/nvim.nix index bcc14c7..c9ce2cf 100644 --- a/common/nvim/nvim.nix +++ b/common/nvim/nvim.nix @@ -1,16 +1,24 @@ -{ config, pkgs, inputs, ... }: +{ pkgs, lib, ... }: { home.packages = with pkgs; [ # needed for the nvim config, neovim itself is a system package already ripgrep ]; - programs.nixvim = { + programs.neovim = { enable = true; defaultEditor = true; viAlias = true; vimAlias = true; + extraConfig = lib.fileContents ./nvim.lua; + }; + programs.nixvim = { + enable = false; + defaultEditor = true; + viAlias = true; + vimAlias = true; + colorschemes.tokyonight = { enable = true; style = "night";