GHOSCHT
bf3b33b0ed
I wasn't able to push code to my selfhosted git instance over tailscale as it automatically preferred IPv6 which somehow wasn't reachable
24 lines
462 B
Nix
24 lines
462 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}: {
|
|
home-manager.users.${vars.user} = {
|
|
#Prefer IPv4 for ssh
|
|
home.file.".ssh/config".text = "AddressFamily inet";
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "GHOSCHT";
|
|
userEmail = "31184695+GHOSCHT@users.noreply.github.com";
|
|
|
|
extraConfig = {
|
|
commit.gpgsign = true;
|
|
user.signingkey = "0x2C2C1C62A5388E82";
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
};
|
|
}
|