move git from cli to devtools & add gh

This commit is contained in:
Sean Buckley 2024-12-05 17:26:52 -05:00
parent 16ea3ccd34
commit b4f956473c
2 changed files with 18 additions and 17 deletions

View file

@ -20,7 +20,6 @@
nix-diff
nixfmt-rfc-style
nix-index
nix-prefetch-github
nodejs
openssl
parted
@ -104,22 +103,6 @@
);
};
programs.git = {
enable = true;
config = {
alias.up = "push";
alias.dn = "pull";
alias.sh = "show";
alias.glog = "log --all --decorate --oneline --graph";
alias.glogl = "log --all --decorate --oneline --graph -n10";
alias.logl = "log --oneline -n10";
alias.vlog = "log --name-status";
core.pager = "less -x1,5";
pull.ff = "only";
init.defaultBranch = "main";
};
};
programs.tmux = {
enable = true;
terminal = "screen-256color";

View file

@ -16,12 +16,14 @@ in
cargo
efm-langserver
errcheck
gh
go
gopls
kubectl
kubernetes-helm
lua-language-server
nil
nix-prefetch-github
nodePackages.prettier
nodePackages.typescript-language-server
pyright
@ -46,5 +48,21 @@ in
source <(kubectl completion bash)
complete -F __start_kubectl k
'';
programs.git = {
enable = true;
config = {
alias.up = "push";
alias.dn = "pull";
alias.sh = "show";
alias.glog = "log --all --decorate --oneline --graph";
alias.glogl = "log --all --decorate --oneline --graph -n10";
alias.logl = "log --oneline -n10";
alias.vlog = "log --name-status";
core.pager = "less -x1,5";
pull.ff = "only";
init.defaultBranch = "main";
};
};
};
}