dotfiles.nix/home-manager/sajenim/features/cli/git.nix
2024-01-21 23:17:05 +08:00

20 lines
358 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
lazygit
];
programs.git = {
enable = true;
userName = "sajenim";
userEmail = "its.jassy@pm.me";
extraConfig = {
init.defaultBranch = "main";
gpg.format = "ssh";
core.sshCommand = "~/.ssh/github_sk.pub";
user.signingkey = "~/.ssh/signing_sk.pub";
};
};
}