dotfiles/modules/cli/git.nix

22 lines
441 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;
2022-01-24 15:13:23 +01:00
userName = "Moritz Böhme";
userEmail = "mail@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 = {
2022-01-24 15:13:23 +01:00
key = null;
2022-01-24 12:40:44 +01:00
signByDefault = true;
};
2021-09-09 21:55:28 +02:00
};
2021-11-11 18:34:54 +01:00
};
2022-04-23 13:56:27 +02:00
programs.git = {
enable = true;
config.safe.directory = "/home/moritz/.dotfiles";
};
2021-11-11 18:34:54 +01:00
}