23 lines
517 B
Nix
23 lines
517 B
Nix
{
|
|
flake.modules.homeManager.rafiq = {
|
|
home.shellAliases = {
|
|
gs = "git status";
|
|
gc = "git commit";
|
|
gcam = "git commit -am";
|
|
gu = "git push";
|
|
gy = "git pull";
|
|
gdh = "git diff HEAD";
|
|
};
|
|
programs.git = {
|
|
enable = true;
|
|
signing.signByDefault = true;
|
|
extraConfig = {
|
|
init.defaultBranch = "prime";
|
|
push.autoSetupRemote = true;
|
|
pull.rebase = false;
|
|
core.editor = "$EDITOR";
|
|
gpg.format = "ssh";
|
|
};
|
|
};
|
|
};
|
|
}
|