dotfiles/modules/cli/git.nix

14 lines
327 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
let
base = (home: {
programs.git = {
enable = true;
userName = "MoritzBoehme";
userEmail = "mr.x@moritzboeh.me";
2021-09-29 17:03:48 +02:00
extraConfig = { init.defaultBranch = "main"; };
2021-10-31 19:45:06 +01:00
delta.enable = true;
2021-09-09 21:55:28 +02:00
};
});
2021-09-29 17:03:48 +02:00
in { home-manager.users.moritz = { ... }: (base "/home/moritz"); }