2023-07-26 13:04:43 -04:00
|
|
|
_:
|
2022-08-27 10:57:48 -04:00
|
|
|
|
|
|
|
{
|
2023-10-13 21:38:41 -04:00
|
|
|
# Allowed signers for git commit signing (referenced below).
|
|
|
|
home.file.".ssh/allowed_signers".text = "walkah@walkah.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOxgkaPcUYkMjk7SEBFrYpJ2mGK+8iPgLYwV+XpNp5Nl";
|
|
|
|
|
2022-08-27 10:57:48 -04:00
|
|
|
programs = {
|
2023-02-15 12:11:18 -05:00
|
|
|
gh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
git_protocol = "ssh";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-08-27 10:57:48 -04:00
|
|
|
git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "James Walker";
|
|
|
|
userEmail = "walkah@walkah.net";
|
|
|
|
|
|
|
|
aliases = {
|
2024-07-29 11:48:49 -04:00
|
|
|
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi";
|
|
|
|
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit";
|
|
|
|
smu = "submodule update --init --recursive";
|
2022-08-27 10:57:48 -04:00
|
|
|
st = "status -s";
|
|
|
|
undo = "reset HEAD~1 --mixed";
|
|
|
|
};
|
|
|
|
|
|
|
|
extraConfig = {
|
2023-10-13 21:38:41 -04:00
|
|
|
commit.gpgsign = true;
|
2022-08-27 10:57:48 -04:00
|
|
|
github.user = "walkah";
|
2023-10-13 21:38:41 -04:00
|
|
|
gpg.format = "ssh";
|
|
|
|
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
2022-08-27 10:57:48 -04:00
|
|
|
init.defaultBranch = "main";
|
|
|
|
pull.rebase = true;
|
|
|
|
rebase.autoStash = true;
|
2023-10-13 21:38:41 -04:00
|
|
|
user.signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOxgkaPcUYkMjk7SEBFrYpJ2mGK+8iPgLYwV+XpNp5Nl";
|
2022-08-27 10:57:48 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|