mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
39 lines
744 B
Nix
39 lines
744 B
Nix
{ lib, ... }:
|
|
{
|
|
programs.git = {
|
|
enable = true;
|
|
aliases = {
|
|
a = "add";
|
|
c = "commit";
|
|
cl = "clone";
|
|
co = "checkout";
|
|
b = "branch";
|
|
i = "init";
|
|
m = "merge";
|
|
s = "status";
|
|
r = "restore";
|
|
p = "pull";
|
|
pp = "push";
|
|
};
|
|
signing = {
|
|
key = "0x76FD3810215AE097";
|
|
signByDefault = true;
|
|
};
|
|
userEmail = lib.mkDefault "leon.schwarzaeugl@gmail.com";
|
|
userName = "Leon Schwarzäugl";
|
|
difftastic.enable = true;
|
|
lfs.enable = true;
|
|
includes = [
|
|
{
|
|
contents = {
|
|
github = {
|
|
user = "Swarsel";
|
|
};
|
|
commit = {
|
|
template = "~/.gitmessage";
|
|
};
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|