{ config, pkgs, lib, system, user, allowed, secrets, ... }: { home.packages = with pkgs; [ git delta # only works on spec arch, chage url for others (stdenv.mkDerivation { name = "easycommit"; src = pkgs.fetchurl { url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz"; sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E="; }; phases = ["installPhase"]; installPhase = '' mkdir -p $out/bin tar xf $src -C $out/ ls -la $out mv $out/easycommit $out/bin/ chmod +x $out/bin/easycommit ''; }) ]; programs.git = { enable = true; userName = ''Lennart J. Kurzweg (Nx2)''; userEmail = "nx2@nx2.site"; delta = { enable = true; options = { line-numbers = true; side-by-side = false; features = "unobtrusive-line-numbers decorations"; whitespace-error-style = "22 reverse"; }; }; }; }