refactor(homes/rafiq): separate cli and desktop programs

This commit is contained in:
Mohammad Rafiq 2025-05-18 20:40:47 +08:00
parent 52ec49fab0
commit 5f91ad83aa
No known key found for this signature in database
6 changed files with 17 additions and 11 deletions

View file

@ -0,0 +1,25 @@
{lib,config,...}:
{
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";
home.shellAliases = {
gs = "git status";
gc = "git commit";
gcam = "git commit -am";
gu = "git push";
gy = "git pull";
};
programs.git = {
enable = true;
userName = "Mohammad Rafiq";
userEmail = "rafiq@rrv.sh";
signing.key = "~/.ssh/id_ed25519.pub";
signing.signByDefault = true;
extraConfig = {
init.defaultBranch = "prime";
push.autoSetupRemote = true;
pull.rebase = false;
core.editor = "$EDITOR";
gpg.format = "ssh";
};
};
}