feat(hm): add git config to rafiq home, use forAllUsers'
This commit is contained in:
parent
724794eb8b
commit
9fb9598d16
2 changed files with 25 additions and 1 deletions
23
nix/homes/rafiq/git.nix
Normal file
23
nix/homes/rafiq/git.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
flake.homes.rafiq = {
|
||||
# Testing the import in home-manager.nix
|
||||
home.shellAliases = {
|
||||
gs = "git status";
|
||||
gc = "git commit";
|
||||
gcam = "git commit -am";
|
||||
gu = "git push";
|
||||
gy = "git pull";
|
||||
gdh = "git diff HEAD";
|
||||
};
|
||||
programs.git = {
|
||||
signing.signByDefault = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "prime";
|
||||
push.autoSetupRemote = true;
|
||||
pull.rebase = false;
|
||||
core.editor = "$EDITOR";
|
||||
gpg.format = "ssh";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue