neovim: set repo-clone settings

main
Zynh Ludwig 2024-08-29 20:32:25 -07:00
parent 8f7d7f9357
commit ea52afd5ad
2 changed files with 6 additions and 8 deletions

View File

@ -29,6 +29,9 @@ in
in in
lib.mkIf cfg.enable { lib.mkIf cfg.enable {
snowhawk.repo-clone.enable = true; snowhawk.repo-clone.enable = true;
repo-clone.repos = {
"${config.home.homeDirectory}/.config/nvim".url = lib.zgitRepo "nvim";
};
# Set nvim as manpager and default editor # Set nvim as manpager and default editor
home.sessionVariables = { home.sessionVariables = {

View File

@ -17,13 +17,8 @@ in
repo-clone = { repo-clone = {
enable = true; enable = true;
repos = repos = {
let "${config.home.homeDirectory}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
home = config.home.homeDirectory;
in
{
"${home}/.config/nvim".url = lib.zgitRepo "nvim";
"${home}/Pictures/backgrounds".url = lib.zgitRepo "backgrounds";
}; };
}; };
}; };