Add neovim to configuration
This commit is contained in:
@@ -10,7 +10,6 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
git
|
|
||||||
astyle
|
astyle
|
||||||
hyfetch
|
hyfetch
|
||||||
distrobox
|
distrobox
|
||||||
@@ -40,6 +39,7 @@ in
|
|||||||
push = {
|
push = {
|
||||||
autoSetupRemote = true;
|
autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,16 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
|
neovim_configuration = pkgs.fetchgit {
|
||||||
|
url = "https://git.nichkara.eu/nichkara/nvim";
|
||||||
|
rev = "ba38abd4c782efc592a97b6da453492eae37f8d0";
|
||||||
|
sha256 = "sha256-E00IKMwpS6WjkWnpxpg0NxWYZEhbNlS+0vs0Nv5N4eY=";
|
||||||
|
};
|
||||||
|
|
||||||
profile = import ../profile.nix;
|
profile = import ../profile.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vim
|
|
||||||
neovim
|
|
||||||
neovim-qt
|
neovim-qt
|
||||||
|
|
||||||
fzf
|
fzf
|
||||||
@@ -18,10 +22,21 @@ in
|
|||||||
haskellPackages.lsp
|
haskellPackages.lsp
|
||||||
|
|
||||||
python3
|
python3
|
||||||
python3Packages.pynvim
|
|
||||||
|
|
||||||
nodejs
|
nodejs
|
||||||
|
|
||||||
ruby
|
ruby
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
withPerl = true;
|
||||||
|
withPython3 = true;
|
||||||
|
withRuby = true;
|
||||||
|
waylandSupport = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.configFile."nvim/nvim" = {
|
||||||
|
source = neovim_configuration;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user