mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-22 20:27:02 -04:00
25 lines
436 B
Nix
25 lines
436 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
home = {
|
|
packages = with pkgs; [
|
|
neovim
|
|
nvimpager
|
|
];
|
|
file = {
|
|
nvim = {
|
|
recursive = true;
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/nvim";
|
|
target = "./.config/nvim";
|
|
};
|
|
};
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
MANPAGER = "nvim +Man!";
|
|
PAGER = "nvimpager";
|
|
};
|
|
};
|
|
}
|