feat(neovim): moving from nvf to regular nvim configuration.
This commit is contained in:
parent
8763db07ef
commit
290cb759ad
1 changed files with 25 additions and 2 deletions
|
|
@ -22,10 +22,33 @@ in {
|
||||||
config = lib.mkIf config.crony.neovim.enable {
|
config = lib.mkIf config.crony.neovim.enable {
|
||||||
# Disable stylix for nvf, I wan't to use a properly implemented theme sorry.
|
# Disable stylix for nvf, I wan't to use a properly implemented theme sorry.
|
||||||
stylix.targets.nvf.enable = false;
|
stylix.targets.nvf.enable = false;
|
||||||
|
stylix.targets.neovim.enable = false;
|
||||||
|
|
||||||
# Setup neovim
|
# Setup neovim with default home manager options
|
||||||
programs.nvf = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
vimdiffAlias = true;
|
||||||
|
withNodeJs = true;
|
||||||
|
withPython3 = true;
|
||||||
|
withRuby = true;
|
||||||
|
extraWrapperArgs = [
|
||||||
|
"--suffix"
|
||||||
|
"LIBRARY_PATH"
|
||||||
|
":"
|
||||||
|
"${lib.makeLibraryPath [pkgs.stdenv.cc.cc pkgs.zlib]}"
|
||||||
|
"--suffix"
|
||||||
|
"PKG_CONFIG_PATH"
|
||||||
|
":"
|
||||||
|
"${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [pkgs.stdenv.cc.cc pkgs.zlib]}"
|
||||||
|
];
|
||||||
|
extraPackages = [pkgs.gcc];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Setup neovim with nvf
|
||||||
|
programs.nvf = {
|
||||||
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
vim = {
|
vim = {
|
||||||
# Use the nighly package
|
# Use the nighly package
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue