mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-26 02:52:18 +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 = {
|
programs.git = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
|
@ -6,7 +10,7 @@
|
||||||
graph = "log --decorate --oneline --graph";
|
graph = "log --decorate --oneline --graph";
|
||||||
fast-forward = "merge --ff-only";
|
fast-forward = "merge --ff-only";
|
||||||
};
|
};
|
||||||
userEmail = lib.concatStringsSep "" ["john@bo" "wdre.net"];
|
userEmail = lib.mkDefault email;
|
||||||
userName = lib.mkDefault "John Bowdre";
|
userName = lib.mkDefault "John Bowdre";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
Loading…
Reference in a new issue