repo-clone: basic config
This commit is contained in:
parent
d8dae0b57d
commit
fb743989b4
1 changed files with 12 additions and 1 deletions
|
@ -13,6 +13,17 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
repo-clone.enable = true;
|
||||
repo-clone = {
|
||||
enable = true;
|
||||
repos =
|
||||
let
|
||||
home = config.home.homeDirectory;
|
||||
zgitRepo = name: "https://git.zynh.me/Zynh0722/${name}.git";
|
||||
in
|
||||
{
|
||||
"${home}/.config/nvim".url = zgitRepo "nvim";
|
||||
"${home}/Pictures/backgrounds".url = zgitRepo "backgrounds";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue