Skip to content

Commit

Permalink
feat(clonerer): enable clonerer for production use
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenhoenle committed Jul 16, 2024
1 parent a46075b commit 9605347
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions home/clonerer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
let
/* The 'clonerer' is a tool which clones git repos to specified locations and sets up additional git remotes for them. */

#gitBasePath = "/home/ruben/Developer/git";
gitBasePath = "/home/ruben/automated-developer/git";
gitBasePath = "/home/ruben/Developer/git";
bromanceDotfilesPath = "${gitBasePath}/BROMANCE-DOTFILES";
hackwerkReposPath = "${gitBasePath}/HACKWERK";
configFile = pkgs.writeText "clonerer-config.json" (builtins.toJSON [
{
name = "blog";
path = "${gitBasePath}";
origin = "[email protected]:rubenhoenle/rubenhoenle.github.io.git";
}
{
name = "Matrix-MQTT-Bridge";
path = "${gitBasePath}";
Expand Down Expand Up @@ -69,7 +75,7 @@ let
{
/* golo300 dotfiles */
name = "golo300";
path = "${gitBasePath}/bromance-dotfiles";
path = "${bromanceDotfilesPath}";
origin = "[email protected]:rubenhoenle/golo300-dotfiles.git";
remotes = {
upstream = "[email protected]:Golo300/dotfiles.git";
Expand All @@ -79,7 +85,7 @@ let
{
/* jgero dotfiles */
name = "jgero";
path = "${gitBasePath}/bromance-dotfiles";
path = "${bromanceDotfilesPath}";
origin = "[email protected]:rubenhoenle/jgero-dotfiles.git";
remotes = {
upstream = "[email protected]:jgero/dotfiles.git";
Expand All @@ -89,7 +95,7 @@ let
{
/* mschwer dotfiles */
name = "mschwer";
path = "${gitBasePath}/bromance-dotfiles";
path = "${bromanceDotfilesPath}";
origin = "[email protected]:rubenhoenle/Markus-Schwer-dotfiles.git";
remotes = {
upstream = "[email protected]:Markus-Schwer/dotfiles.git";
Expand All @@ -99,13 +105,33 @@ let
{
/* sezuisa dotfiles */
name = "sezuisa";
path = "${gitBasePath}/bromance-dotfiles";
path = "${bromanceDotfilesPath}";
origin = "[email protected]:rubenhoenle/sezuisa-dotfiles.git";
remotes = {
upstream = "[email protected]:sezuisa/dotfiles.git";
ruben = "[email protected]:rubenhoenle/dotfiles.git";
};
}
{
name = "space-notebooks";
path = "${hackwerkReposPath}";
origin = "[email protected]:sfz.aalen/infra/space-notebooks.git";
}
{
name = "MirAAkunix";
path = "${hackwerkReposPath}";
origin = "[email protected]:sfz.aalen/infra/miraakunix.git";
}
{
name = "dotinder";
path = "${hackwerkReposPath}";
origin = "[email protected]:sfz.aalen/hackwerk/dotinder.git";
}
{
name = "hackwerk_homepage";
path = "${hackwerkReposPath}";
origin = "[email protected]:sfz.aalen/hackwerk/hackwerk_homepage.git";
}
]);

clonerer = pkgs.writeShellApplication {
Expand Down

0 comments on commit 9605347

Please sign in to comment.