dotfiles.nix/home-manager/sajenim/features/cli/git.nix

20 lines
374 B
Nix
Raw Normal View History

2024-01-21 21:01:42 +08:00
{ pkgs, ... }:
2023-04-07 07:19:41 +08:00
{
2023-10-10 19:01:13 +08:00
home.packages = with pkgs; [
lazygit
];
2023-04-07 07:19:41 +08:00
programs.git = {
enable = true;
userName = "sajenim";
userEmail = "its.jassy@pm.me";
2023-04-28 22:50:21 +08:00
extraConfig = {
init.defaultBranch = "main";
2024-01-22 08:50:49 +08:00
core.sshCommand = "ssh -i ~/.ssh/github_sk -F /dev/null";
2024-01-21 23:18:49 +08:00
gpg.format = "ssh";
2024-01-21 23:12:08 +08:00
user.signingkey = "~/.ssh/signing_sk.pub";
2023-04-28 22:50:21 +08:00
};
2023-04-07 07:19:41 +08:00
};
}