mirror of
https://github.com/BalrajSinghGidda/nixos-dotfiles.git
synced 2026-04-07 09:27:23 +00:00
23 lines
622 B
Nix
23 lines
622 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Git version control configuration
|
|
programs.git = {
|
|
enable = true;
|
|
# IMPORTANT: Change these to your own details!
|
|
userName = "BalrajSinghGidda";
|
|
userEmail = "anonystargamerz@gmail.com";
|
|
};
|
|
|
|
# GitHub CLI configuration
|
|
programs.gh = {
|
|
enable = true;
|
|
# Use gh as git credential helper
|
|
gitCredentialHelper.enable = true;
|
|
settings = {
|
|
git_protocol = "https"; # Use HTTPS for git operations (change to "ssh" if you prefer)
|
|
prompt = "enabled"; # Enable interactive prompts
|
|
editor = "nvim"; # Default editor for gh commands
|
|
};
|
|
};
|
|
} |