You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.1 KiB
Nix

{...}: {
programs.git = {
enable = true;
lfs.enable = true;
userEmail = "sgoudham@gmail.com";
userName = "sgoudham";
signing = {
signByDefault = true;
key = "44E818FD5457EEA4";
};
difftastic = {
enable = true;
background = "dark";
};
ignores = [
# General
".DS_Store"
".DS_Store?"
"Thumbs.db"
"desktop.ini"
# Temporary Files
"*.bak"
"*.swp"
"*.swo"
"*~"
# Editors
".idea/"
".iml"
# Nix
".direnv/"
".envrc"
# Rust
"target/"
# Node
"node_modules/"
];
extraConfig = {
branch.sort = "-committerdate";
core = {
autocrlf = "input";
editor = "nvim";
};
commit.verbose = true;
fetch = {
fsckobjects = true;
prune = true;
prunetags = true;
};
init.defaultBranch = "main";
merge.conflictstyle = "zdiff3";
push.autoSetupRemote = true;
receive.fsckObjects = true;
transfer.fsckobjects = true;
url."git@github.com:catppuccin/".insteadOf = "ctp:";
};
};
}