From 12bc5b130336b11f9ede5483f5815245a5532b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Thu, 26 Oct 2023 04:50:51 +0200 Subject: [PATCH] feat: started nixvim --- users/common/programs/nvim/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/users/common/programs/nvim/default.nix b/users/common/programs/nvim/default.nix index dc20df3..bf58e8f 100644 --- a/users/common/programs/nvim/default.nix +++ b/users/common/programs/nvim/default.nix @@ -34,6 +34,14 @@ ".cache/nvim" ]; home.shellAliases.nixvim = lib.getExe (pkgs.nixvim.makeNixvim { + package = pkgs.neovim-unwrapped.overrideAttrs (_final: prev: { + nativeBuildInputs = (prev.nativeBuildInputs or []) ++ [pkgs.makeWrapper]; + postInstall = + (prev.postInstall or "") + + '' + wrapProgram $out/bin/nvim --add-flags "--clean" + ''; + }); colorscheme = "onedark"; colorschemes.onedark.enable = true; });