tv gitconfig: init
This commit is contained in:
parent
c68fe5f5b5
commit
99a5c110ac
@ -9,7 +9,7 @@ with import <stockholm/lib>;
|
||||
../.
|
||||
../2configs/hw/x220.nix
|
||||
../2configs/exim-retiolum.nix
|
||||
../2configs/git.nix
|
||||
../2configs/gitrepos.nix
|
||||
../2configs/im.nix
|
||||
../2configs/mail-client.nix
|
||||
../2configs/nginx/public_html.nix
|
||||
|
@ -9,7 +9,7 @@ with import <stockholm/lib>;
|
||||
../.
|
||||
../2configs/hw/w110er.nix
|
||||
../2configs/exim-retiolum.nix
|
||||
../2configs/git.nix
|
||||
../2configs/gitrepos.nix
|
||||
../2configs/im.nix
|
||||
../2configs/mail-client.nix
|
||||
../2configs/man.nix
|
||||
|
@ -9,7 +9,7 @@ with import <stockholm/lib>;
|
||||
../.
|
||||
../2configs/hw/x220.nix
|
||||
../2configs/exim-retiolum.nix
|
||||
../2configs/git.nix
|
||||
../2configs/gitrepos.nix
|
||||
../2configs/mail-client.nix
|
||||
../2configs/man.nix
|
||||
../2configs/nginx/public_html.nix
|
||||
|
@ -15,7 +15,7 @@ with import <stockholm/lib>;
|
||||
../.
|
||||
../2configs/hw/x220.nix
|
||||
../2configs/exim-retiolum.nix
|
||||
../2configs/git.nix
|
||||
../2configs/gitrepos.nix
|
||||
../2configs/mail-client.nix
|
||||
../2configs/man.nix
|
||||
../2configs/nginx/public_html.nix
|
||||
|
19
tv/2configs/gitconfig.nix
Normal file
19
tv/2configs/gitconfig.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
with import <stockholm/lib>;
|
||||
|
||||
{
|
||||
environment.etc.gitconfig.text = ''
|
||||
[alias]
|
||||
patch = !${pkgs.git}/bin/git --no-pager diff --no-color
|
||||
[diff-so-fancy]
|
||||
markEmptyLines = false
|
||||
stripLeadingSymbols = false
|
||||
[pager]
|
||||
diff = ${pkgs.gitAndTools.diff-so-fancy}/bin/diff-so-fancy \
|
||||
| ${pkgs.less}/bin/less -FRX
|
||||
[user]
|
||||
email = tv@krebsco.de
|
||||
name = tv
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user