feat: started nixvim

This commit is contained in:
Patrick Großmann 2023-10-26 04:50:51 +02:00
parent 6721068e21
commit 12bc5b1303
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -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;
});