repo-clone: basic config

sh-initrd-on-root
Zynh Ludwig 2024-08-01 01:03:18 -07:00
parent d8dae0b57d
commit fb743989b4
1 changed files with 12 additions and 1 deletions

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";
};
};
}; };
} }