mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 18:42:19 +00:00
fix git config
This commit is contained in:
parent
61d6f56435
commit
34d3e9bcc2
1 changed files with 19 additions and 15 deletions
|
@ -1,4 +1,8 @@
|
|||
{ lib, ... }: {
|
||||
{ lib, ... }:
|
||||
let
|
||||
email = lib.concatStringsSep "" [ "john@bo" "wdre.net" ];
|
||||
in
|
||||
{
|
||||
programs.git = {
|
||||
enable = lib.mkDefault true;
|
||||
delta.enable = true;
|
||||
|
@ -6,7 +10,7 @@
|
|||
graph = "log --decorate --oneline --graph";
|
||||
fast-forward = "merge --ff-only";
|
||||
};
|
||||
userEmail = lib.concatStringsSep "" ["john@bo" "wdre.net"];
|
||||
userEmail = lib.mkDefault email;
|
||||
userName = lib.mkDefault "John Bowdre";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
|
|
Loading…
Reference in a new issue