neovim: set repo-clone settings
This commit is contained in:
parent
8f7d7f9357
commit
ea52afd5ad
2 changed files with 6 additions and 8 deletions
|
@ -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 = {
|
||||||
|
|
|
@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue