diff --git a/pkgs/sane-scripts/default.nix b/pkgs/sane-scripts/default.nix index 3d125e4e..6fb61dc2 100644 --- a/pkgs/sane-scripts/default.nix +++ b/pkgs/sane-scripts/default.nix @@ -27,6 +27,7 @@ resholve.mkDerivation { duplicity file findutils + git gnugrep gnused gocryptfs @@ -75,6 +76,7 @@ resholve.mkDerivation { # list of programs which *can* or *cannot* exec their arguments execer = with pkgs; [ "cannot:${duplicity}/bin/duplicity" + "cannot:${git}/bin/git" "cannot:${gocryptfs}/bin/gocryptfs" "cannot:${ifuse}/bin/ifuse" "cannot:${iwd}/bin/iwctl" diff --git a/pkgs/sane-scripts/src/sane-git-init b/pkgs/sane-scripts/src/sane-git-init new file mode 100755 index 00000000..73f90fe0 --- /dev/null +++ b/pkgs/sane-scripts/src/sane-git-init @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -x + +# initialize a repository with each of my machines configured as remotes. +# it's assumed each machine stores the repo at the same fs path + +path=$PWD + +git init +git remote add desko "colin@desko:$path" +git remote add lappy "colin@lappy:$path" +git remote add moby "colin@moby:$path" +git remote add servo "colin@servo:$path"