Implemented previous non-working version of neovim config

This commit is contained in:
Random936 2024-07-21 17:03:28 -07:00
parent ef23ab8141
commit e58de4ae96
4 changed files with 13 additions and 2 deletions

View File

@ -31,7 +31,6 @@
# List packages installed in system profile.
environment.systemPackages = with pkgs; [
vim
git
killall
];

View File

@ -8,6 +8,7 @@
imports = [
./shared.nix
./hacking.nix
./neovim.nix
./emacs.nix
./zsh.nix
];

View File

@ -7,7 +7,7 @@
imports = [
./shared.nix
./emacs.nix
./neovim.nix
./zsh.nix
];

11
home/neovim.nix Normal file
View File

@ -0,0 +1,11 @@
{ inputs, config, pkgs, ... }: {
programs.neovim = {
enable = true;
vimAlias = true;
};
home.file = {
".config/nvim/init.vim".source = ../dotfiles/.config/nvim/init.vim;
".config/nvim/coc-settings.json".source = ../dotfiles/.config/nvim/init.vim;
};
}