diff --git a/overlays/neovim-unwrapped.nix b/overlays/neovim-unwrapped.nix new file mode 100644 index 00000000..55c466c5 --- /dev/null +++ b/overlays/neovim-unwrapped.nix @@ -0,0 +1,10 @@ +final: prev: { + neovim-unwrapped = prev.neovim-unwrapped.overrideAttrs (oldAttrs: { + postInstall = (oldAttrs.postInstall or "") + '' + substituteInPlace $out/share/applications/nvim.desktop \ + --replace "TryExec=nvim" "" \ + --replace "Terminal=true" "Terminal=false" \ + --replace "Exec=nvim %F" "Exec=kitty nvim %F" + ''; + }); +}