flake/nixos/git.nix
2024-11-16 13:38:09 -05:00

22 lines
425 B
Nix
Executable file

{
programs.git = {
config = {
init = { defaultBranch = "master"; };
safe = { directory = "/etc/nixos"; };
url = {
"https://www.coastalcommits.com/" = {
insteadOf = [
"cc:"
"coastalcommits:"
];
};
"https://github.com/" = {
insteadOf = [
"gh:"
"github:"
];
};
};
};
};
}