flake/nixos/git.nix

27 lines
453 B
Nix
Raw Normal View History

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