dotfiles/nix/hosts/alymac/git.nix

43 lines
765 B
Nix
Raw Normal View History

2023-06-12 10:24:26 +00:00
{ pkgs, ... }:
{
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull; # contains git send-email et al
userName = "Alyxia Sother";
userEmail = "alyxia@riseup.net";
signing = {
key = "01E16C4E775A37E4";
signByDefault = true;
};
2023-09-25 11:47:48 +00:00
ignores = [
".DS_Store"
];
2023-06-12 10:24:26 +00:00
delta = {
enable = true;
options = {
line-numbers = true;
features = "decorations";
syntax-theme = "ansi";
};
};
extraConfig = {
init.defaultBranch = "master";
};
};
2023-06-12 10:45:09 +00:00
programs.gh = {
enable = true;
# Why the *fuck* are these packages as opposed to GitHub links???
extensions = with pkgs; [
gh-actions-cache
];
};
programs.gitui.enable = true;
}