start splitting

This commit is contained in:
Sridhar Ratnakumar 2021-09-12 18:37:54 -04:00
parent 2c859d5704
commit eea4ff4143
2 changed files with 25 additions and 24 deletions

View file

@ -45,30 +45,7 @@ rec {
];
programs = {
git = {
# package = pkgs.gitAndTools.gitFull;
enable = true;
userName = "Sridhar Ratnakumar";
userEmail = "srid@srid.ca";
aliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
p = "pull --rebase";
pu = "push";
};
ignores = [ "*~" "*.swp" ];
extraConfig = {
init.defaultBranch = "master";
#core.editor = "nvim";
#protocol.keybase.allow = "always";
credential.helper = "store --file ~/.git-credentials";
pull.rebase = "false";
};
};
git = import ./home/git.nix;
tmux = {
enable = true;

24
home/git.nix Normal file
View file

@ -0,0 +1,24 @@
{
# package = pkgs.gitAndTools.gitFull;
enable = true;
userName = "Sridhar Ratnakumar";
userEmail = "srid@srid.ca";
aliases = {
co = "checkout";
ci = "commit";
cia = "commit --amend";
s = "status";
st = "status";
b = "branch";
p = "pull --rebase";
pu = "push";
};
ignores = [ "*~" "*.swp" ];
extraConfig = {
init.defaultBranch = "master";
#core.editor = "nvim";
#protocol.keybase.allow = "always";
credential.helper = "store --file ~/.git-credentials";
pull.rebase = "false";
};
};