mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
27 lines
556 B
Nix
27 lines
556 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";
|
|
commit.gpgsign = true;
|
|
};
|
|
};
|
|
_file = ./git.nix;
|
|
}
|