dotfiles/common/users/homeModules/nvim.nix

19 lines
484 B
Nix
Raw Normal View History

2024-11-26 17:01:58 -05:00
{pkgs, ...}: {
home = {
packages = with pkgs; [
neovim
];
file = {
nvim = {
recursive = true;
source = pkgs.lib.file.mkOutOfStoreSymlink "${pkgs.home.homeDirectory}/nixos/dotfiles/nvim";
target = "./.config/nvim";
};
};
sessionVariables = {
EDITOR = "nvim";
MANPAGER = "nvim +Man!";
MANWIDTH = "999";
};
2024-11-26 17:18:44 -05:00
};
2024-11-26 17:01:58 -05:00
}