flake/home/applications/neovim/default.nix

24 lines
472 B
Nix

{
pkgs,
inputs,
...
}: {
home.packages = [
(inputs.neovim.packages.${pkgs.stdenv.hostPlatform.system}.default.override {
viAlias = true;
vimAlias = true;
})
#pkgs.lunarvim
];
home.sessionVariables."EDITOR" = "nvim";
# TODO: still couldn't make it work
#programs.neovim = {
# enable = true;
# viAlias = true;
# vimAlias = true;
#
# package = inputs.neovim.packages.${pkgs.stdenv.hostPlatform.system}.default;
#};
}