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

19 lines
593 B
Nix

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