1
Fork 0
satellite/home/adrielus/features/cli/git.nix
Matei Adriel 5bd0813530
A few changes:
- Updated all vim plugins
- Fixed tmux keybind for horizontal splits
- Fixed warnings about the config => opt change in lazy.nvim
2023-02-09 06:59:58 +01:00

33 lines
678 B
Nix

{ pkgs, config, ... }: {
programs.git = {
enable = true;
package = pkgs.gitFull;
aliases.graph = "log --decorate --oneline --graph";
userName = "Matei Adriel";
userEmail = "rafaeladriel11@gmail.com";
extraConfig = {
github.user = "Mateiadrielrafael";
hub.protocol = "ssh";
core.editor = "nvim";
rebase.autoStash = true;
# Sign commits using ssh
gpg.format = "ssh";
user.signingkey = "~/.ssh/id_ed25519.pub";
# Sign everything by default
commit.gpgsign = true;
tag.gpgsign = true;
};
};
# Github cli
programs.gh = {
enable = true;
settings.git_protocol = "ssh";
};
}