mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-19 15:53:46 +01:00
30 lines
411 B
Nix
30 lines
411 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}: {
|
|
programs.git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
|
|
userName = "Ryan Yin";
|
|
userEmail = "xiaoyin_c@qq.com";
|
|
|
|
extraConfig = {
|
|
pull = {
|
|
rebase = true;
|
|
};
|
|
};
|
|
|
|
# signing = {
|
|
# key = "xxx";
|
|
# signByDefault = true;
|
|
# };
|
|
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
features = "side-by-side";
|
|
};
|
|
};
|
|
};
|
|
} |