{ pkgs, ... }: { imports = [ ./cliff.nix ]; programs.git = { enable = true; package = pkgs.gitFull; delta.enable = true; userName = "Noah Knegt"; userEmail = "personal@noahknegt.com"; signing = { key = "~/.ssh/id_ed25519.pub"; signByDefault = true; format = "ssh"; }; extraConfig = { push = { autoSetupRemote = true; }; pull = { rebase = true; }; fetch = { prune = true; }; }; lfs.enable = true; includes = [ { condition = "gitdir:~/Repos/git.noahknegt.com/"; contents = { user = { email = "git@noahknegt.com"; }; commit = { gpgSign = true; }; tag = { gpgSign = true; }; }; } { condition = "gitdir:~/Repos/open-source/"; contents = { user = { email = "git@noahknegt.com"; signingKey = "~/.ssh/id_open_source.pub"; }; commit = { gpgSign = true; }; tag = { gpgSign = true; }; }; } ]; }; }