mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
28 lines
533 B
Nix
28 lines
533 B
Nix
_: {
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
programs.git = {
|
|
enable = true;
|
|
package = pkgs.gitMinimal;
|
|
config = {
|
|
user = {
|
|
name = "Gerg-L";
|
|
email = "GregLeyda@proton.me";
|
|
signingkey = "~/.ssh/id_ed25519.pub";
|
|
};
|
|
init = {
|
|
defaultBranch = "master";
|
|
};
|
|
push = {
|
|
autoSetupRemote = true;
|
|
};
|
|
advice.addIgnoredFile = false;
|
|
core.hooksPath = ".githooks";
|
|
gpg.format = "ssh";
|
|
push.gpgsign = "if-asked";
|
|
};
|
|
};
|
|
_file = ./git.nix;
|
|
}
|