repo-clone: basic config

This commit is contained in:
Zynh Ludwig 2024-08-01 01:03:18 -07:00
parent d8dae0b57d
commit fb743989b4

View file

@ -13,6 +13,17 @@ in
}; };
config = lib.mkIf cfg.enable { 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";
};
};
}; };
} }