dotfiles/modules/cli/git.nix
2022-05-10 13:52:47 +02:00

22 lines
482 B
Nix

{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = {
programs.git = {
enable = true;
userName = "Moritz Böhme";
userEmail = "mail@moritzboeh.me";
extraConfig.init.defaultBranch = "main";
delta.enable = true;
signing = {
key = "0x970C6E89EB0547A9";
signByDefault = true;
};
lfs.enable = true;
};
};
programs.git = {
enable = true;
config.safe.directory = "/home/moritz/.dotfiles";
};
}