add icecube and git config

This commit is contained in:
Jonathan Dönszelmann 2024-09-17 10:10:18 +02:00
parent e767060559
commit 8a9b1f2529
No known key found for this signature in database
8 changed files with 70 additions and 30 deletions

25
programs/git/default.nix Normal file
View file

@ -0,0 +1,25 @@
_: {
programs.git = {
enable = true;
userEmail = "jonathan@donsz.nl";
userName = "Jonathan Dönszelmann";
signing.key = "~/.ssh/id_ed25519.pub";
signing.signByDefault = true;
delta.enable = true;
delta.options = {
navigate = true;
light = false;
};
extraConfig = {
push.autoSetupRemote = true;
pull.rebase = true;
init.defaultBranch = "main";
gpg.format = "ssh";
diff.colorMoved = true;
rerere.enabled = true;
};
};
}