mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
20 lines
452 B
Nix
20 lines
452 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
user.name = "Ahwx";
|
|
user.email = "ahwx@ahwx.org";
|
|
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
|
|
];
|
|
}
|