dotfiles/modules/cli/git.nix

18 lines
359 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
2021-11-11 18:34:54 +01:00
{
home-manager.users.moritz = {
2021-09-09 21:55:28 +02:00
programs.git = {
enable = true;
userName = "MoritzBoehme";
userEmail = "mr.x@moritzboeh.me";
2022-01-09 14:07:54 +01:00
extraConfig.init.defaultBranch = "main";
2021-10-31 19:45:06 +01:00
delta.enable = true;
2022-01-24 12:40:44 +01:00
signing = {
key = "0x0498CF2DD8CFC6AA";
signByDefault = true;
};
2021-09-09 21:55:28 +02:00
};
2021-11-11 18:34:54 +01:00
};
}