flake/nixos/git.nix

23 lines
425 B
Nix
Raw Normal View History

2024-11-16 13:38:09 -05:00
{
programs.git = {
config = {
init = { defaultBranch = "master"; };
safe = { directory = "/etc/nixos"; };
url = {
"https://www.coastalcommits.com/" = {
insteadOf = [
"cc:"
"coastalcommits:"
];
};
"https://github.com/" = {
insteadOf = [
"gh:"
"github:"
];
};
};
};
};
}