diff options
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/gitconfig.nix | 19 | ||||
-rw-r--r-- | tv/2configs/gitrepos.nix (renamed from tv/2configs/git.nix) | 0 |
2 files changed, 19 insertions, 0 deletions
diff --git a/tv/2configs/gitconfig.nix b/tv/2configs/gitconfig.nix new file mode 100644 index 000000000..771a4b2a4 --- /dev/null +++ b/tv/2configs/gitconfig.nix @@ -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 + ''; +} diff --git a/tv/2configs/git.nix b/tv/2configs/gitrepos.nix index 13b12986c..13b12986c 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/gitrepos.nix |