mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
18 lines
450 B
Nix
18 lines
450 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
userName = "Ahwx";
|
|
userEmail = "ahwx@ahwx.org";
|
|
|
|
extraConfig = {
|
|
init.defaultBranch = "master";
|
|
credential.helper = "store";
|
|
alias.stat = "status";
|
|
alias.lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%Creset' --abbrev-commit";
|
|
};
|
|
};
|
|
|
|
home.packages = [ pkgs.gh pkgs.git-lfs ];
|
|
}
|