dotfiles.nix/home-manager/sajenim/features/cli/git.nix
2024-01-22 08:50:49 +08:00

20 lines
374 B
Nix

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