28 lines
629 B
Nix
Executable File
28 lines
629 B
Nix
Executable File
let
|
|
gitAliases = {
|
|
co = "checkout";
|
|
ci = "commit";
|
|
cia = "commit --amend";
|
|
s = "status";
|
|
st = "status";
|
|
b = "branch";
|
|
p = "pull --rebase";
|
|
pu = "push";
|
|
};
|
|
in
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
settings = {
|
|
user = {
|
|
name = "mjallen18";
|
|
email = "matt.l.jallen@gmail.com";
|
|
};
|
|
alias = gitAliases;
|
|
};
|
|
# The default value of `programs.git.signing.format` has changed from `"openpgp"` to `null`.
|
|
# You are currently using the legacy default (`"openpgp"`) because `home.stateVersion` is less than "25.05".
|
|
signing.format = "openpgp";
|
|
};
|
|
}
|