mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-08-24 10:04:09 -05:00
feat(home/git): set work email
This commit is contained in:
@@ -17,6 +17,12 @@ in {
|
||||
|
||||
targets.genericLinux.enable = true;
|
||||
|
||||
programs.git = {
|
||||
userEmail = "gabriel.fontes@luizalabs.com";
|
||||
# Not adding my work email to my gpg, thanks
|
||||
extraConfig.commit.gpgSign = false;
|
||||
};
|
||||
|
||||
monitors = [{
|
||||
name = "eDP-1";
|
||||
width = 1920;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
ssh = "${pkgs.openssh}/bin/ssh";
|
||||
@@ -47,11 +48,11 @@ in {
|
||||
add-nowhitespace = "!git diff -U0 -w --no-color | git apply --cached --ignore-whitespace --unidiff-zero -";
|
||||
};
|
||||
userName = "Gabriel Fontes";
|
||||
userEmail = "hi@m7.rs";
|
||||
userEmail = lib.mkDefault "hi@m7.rs";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
user.signing.key = "CE707A2C17FAAC97907FF8EF2E54EA7BFE630916";
|
||||
commit.gpgSign = true;
|
||||
commit.gpgSign = lib.mkDefault true;
|
||||
gpg.program = "${config.programs.gpg.package}/bin/gpg2";
|
||||
|
||||
merge.conflictStyle = "zdiff3";
|
||||
|
||||
Reference in New Issue
Block a user