This repository has been archived on 2025-11-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/modules/home/git.nix
2024-11-02 18:04:47 +01:00

20 lines
428 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{pkgs, ...}: {
programs.git = {
enable = true;
userName = "Pedro Rey Anca";
userEmail = "personal@peprolinbot.com";
signing = {
signByDefault = true;
key = null; # Let GnuPG decide what signing key to use depending on commits author.
};
extraConfig = {
init.defaultBranch = "main";
credential.helper = "store";
};
};
# home.packages = [ pkgs.gh pkgs.git-lfs ];
}