universe/shell/bud/default.nix
2023-03-30 12:29:48 -04:00

19 lines
596 B
Nix

{ pkgs, lib, budUtils, ... }: {
bud.cmds = with pkgs; {
up.enable = false;
rb = {
writer = budUtils.writeBashWithPaths [ nixUnstable nixos-rebuild git coreutils mercurial ];
synopsis = "rb (switch|boot|test)";
help = "Shortcut for nixos-rebuild using the current hostname";
script = ./rb.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;
};
};
}