45 lines
758 B
Nix
45 lines
758 B
Nix
_: {
|
|
home-manager.users.buffet = {
|
|
programs.git = {
|
|
enable = true;
|
|
userEmail = "dev@buffet.sh";
|
|
userName = "buffet";
|
|
|
|
difftastic = {
|
|
enable = true;
|
|
background = "light";
|
|
};
|
|
|
|
aliases = {
|
|
b = "branch";
|
|
c = "commit --verbose";
|
|
m = "commit --amend --verbose";
|
|
|
|
d = "diff";
|
|
ds = "diff --stat";
|
|
dc = "diff --cached";
|
|
|
|
l = "log";
|
|
s = "status -s";
|
|
};
|
|
|
|
signing = {
|
|
key = "EBAC355935FD7382";
|
|
};
|
|
|
|
extraConfig = {
|
|
init = {
|
|
defaultBranch = "master";
|
|
};
|
|
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
|
|
pull = {
|
|
ff = "only";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|