mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Programs] Add htop and git specific configurations
This commit is contained in:
parent
00ed308594
commit
0f12a98583
3 changed files with 76 additions and 0 deletions
28
programs/git.nix
Normal file
28
programs/git.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{config, pkgs, lib, ...}:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
config = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
};
|
||||
user = {
|
||||
email = "antoine@lesviallon.fr";
|
||||
name = "Antoine Viallon";
|
||||
};
|
||||
core.compression = 3;
|
||||
commit.gpgSign = lib.mkDefault true;
|
||||
diff = {
|
||||
algorithm = "histogram";
|
||||
};
|
||||
feature = {
|
||||
manyFiles = true;
|
||||
};
|
||||
fetch.prune = true;
|
||||
fetch.negotiationAlgorithm = "skipping";
|
||||
fetch.parallel = 6;
|
||||
gpg.program = "${pkgs.gnupg}/bin/gpg";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue