bud: move to shell and use git clone for get

This commit is contained in:
Parthiv Seetharaman 2021-12-29 15:41:58 -08:00 committed by Infinidoge
parent efc3380e13
commit 1a6f024d99
4 changed files with 6 additions and 3 deletions

17
shell/bud/default.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, lib, budUtils, ... }: {
bud.cmds = with pkgs; {
buildthis = {
writer = budUtils.writeBashWithPaths [ nixUnstable nixos-rebuild git coreutils mercurial ];
synopsis = "buildthis (switch|boot|test)";
help = "Shortcut for nixos-rebuild using the current hostname";
script = ./buildthis.bash;
};
install-doom = {
writer = budUtils.writeBashWithPaths [ git coreutils emacs ];
synopsis = "install-doom [ARGS]";
help = "Installs Doom Emacs from https://github.com/hlissner/doom-emacs";
script = ./install-doom.bash;
};
};
}