about summary refs log tree commit diff
path: root/home/git.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-02-02 08:51:02 -0800
committerFranck Cuny <franck@fcuny.net>2024-02-02 08:53:16 -0800
commit16545ae411aa886e94be0deaae79e07f39b9adfb (patch)
tree890d35ae99c9aa397d34baf4607853760f5098dd /home/git.nix
parentrun CI commands in a nix shell (diff)
downloadworld-16545ae411aa886e94be0deaae79e07f39b9adfb.tar.gz
install firefox
The firefox packages for darwin are broken.
`bandithedoge/nixpkgs-firefox-darwin` provides an overlay to install
the package on darwin.

Add some specific configurations to make firefox work as I want out of
the box.

We also add NUR to install some firefox extensions (ublock, 1password).
Diffstat (limited to 'home/git.nix')
-rw-r--r--home/git.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/git.nix b/home/git.nix
index 2c69c64..4fbbbb9 100644
--- a/home/git.nix
+++ b/home/git.nix
@@ -33,6 +33,9 @@ in
       # abort if the remote branch does not match the local one
       push.default = "simple";
 
+      # https://adamj.eu/tech/2024/01/18/git-improve-diff-histogram/
+      diff.algorithm = "histogram";
+
       init.defaultBranch = "main";
 
       pull.rebase = true;