mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:06:11 +01:00
BREAKING-CHANGE: changed nixpkgs to stable 24.11 + structure change + fmt
This commit is contained in:
26
home-manager/programs/git.nix
Normal file
26
home-manager/programs/git.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
userName = "Michał Czyż";
|
||||
userEmail = "mike@c2yz.com";
|
||||
|
||||
signing = {
|
||||
key = "9745B9E27E2B1ABB";
|
||||
signByDefault = true;
|
||||
};
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
push.autoSetupRemote = true;
|
||||
commit.gpgsign = true;
|
||||
push.enabled = true;
|
||||
column.ui = "auto";
|
||||
branch.sort = "-committerdate";
|
||||
pull.rebase = "false";
|
||||
rerere.enabled = true;
|
||||
tag.gpgSign = true;
|
||||
push.gpgsign = "if-asked";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user