{ config, pkgs, lib, ... }: let cfg = config.ctucxConfig.programs.git; in { options = { ctucxConfig.programs.git = { enable = lib.mkEnableOption "git"; }; }; config = lib.mkIf cfg.enable { home-manager.users.katja = { # home.packages = [ pkgs.gitui ]; programs = { # bash.shellAliases.lazygit = "gitui"; lazygit.enable = true; git = { enable = true; package = pkgs.gitFull; userName = "Leah (ctucx)"; userEmail = "git@ctu.cx"; difftastic.enable = true; ignores = [ ".DS_Store" "*.swp" ]; aliases = { log-gpg = "log --show-signature"; pfusch = "push"; }; extraConfig = { features.manyFiles = true; pull.rebase = false; # "url \"git@git.ctu.cx:\"".insteadOf = "https://git.ctu.cx/"; }; }; }; }; }; }