mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 06:46:11 +01:00
neovim works
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
{ unstable, ... }: {
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
vimdiffAlias = true;
|
|
||||||
|
|
||||||
defaultEditor = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
19
home.nix
19
home.nix
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user