mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
move git from cli to devtools & add gh
This commit is contained in:
parent
16ea3ccd34
commit
b4f956473c
2 changed files with 18 additions and 17 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue