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.

47 lines
816 B
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 = {
push.autoSetupRemote = true;
core = {
autocrlf = "input";
editor = "nvim";
};
init.defaultBranch = "main";
};
};
}