{ lib, pkgs, config, user, ... }: let home = config.home.homeDirectory; in { home.packages = with pkgs; [ gh ]; programs.git = { enable = true; lfs = { enable = true; }; userEmail = "rs@rs.ht"; userName = "Ray Andrew"; signing = { key = "${home}/.ssh/id_ed25519.pub"; signByDefault = true; signer = ""; }; ignores = [ ".DS_Store" "*~" "*.swp" ]; extraConfig = { gpg.format = "ssh"; core.editor = "emacs"; credential.helper = "store --file ${home}/.git-credentials"; pull.rebase = true; github.user = user; }; }; # programs.gh = { # enable = true; # settings = { # git_protocol = "ssh"; # }; # extensions = with pkgs; [ # gh-copilot # ]; # }; }