17 lines
542 B
Nix
17 lines
542 B
Nix
{ pkgs, lib, budUtils, ... }: {
|
|
bud.cmds = with pkgs; {
|
|
get = {
|
|
writer = budUtils.writeBashWithPaths [ nixUnstable git coreutils ];
|
|
synopsis = "get [DEST]";
|
|
help = "Copy the desired template to DEST";
|
|
script = ./get.bash;
|
|
};
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|