mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-25 21:57:00 -04:00
20 lines
561 B
Nix
20 lines
561 B
Nix
{pkgs, lib, config, ...}: {
|
|
home = {
|
|
packages = with pkgs; [
|
|
neovim
|
|
];
|
|
file = {
|
|
nvim = {
|
|
recursive = true;
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/nvim";
|
|
target = "./.config/nvim";
|
|
};
|
|
};
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
MANPAGER = "nvim +Man!";
|
|
# readonly, quit on q
|
|
PAGER = "nvim -R +\"nmap q <CMD>q!<CR>\"";
|
|
};
|
|
};
|
|
}
|