neovim works

This commit is contained in:
2024-04-08 19:23:14 +02:00
parent f17af995a2
commit e077d7d2db
2 changed files with 15 additions and 15 deletions

View File

@@ -1,11 +0,0 @@
{ unstable, ... }: {
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
};
}

View File

@@ -53,9 +53,9 @@ in {
# release notes. # release notes.
home.stateVersion = "23.11"; # Please read the comment before changing. home.stateVersion = "23.11"; # Please read the comment before changing.
imports = [ # imports = [
./apps/neovim.nix # ./apps/neovim.nix
]; # ];
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
@@ -102,7 +102,7 @@ in {
(with pkgs-unstable; [ (with pkgs-unstable; [
# I need fresssh stuff # I need fresssh stuff
neovim # neovim
]); ]);
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
@@ -124,6 +124,17 @@ in {
EDITOR = "nvim"; EDITOR = "nvim";
}; };
programs.neovim = {
enable = true;
package = pkgs-unstable.neovim-unwrapped;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
defaultEditor = true;
};
programs.bash = { programs.bash = {
enable = true; enable = true;
shellAliases = myAliases; shellAliases = myAliases;