Update git config

This commit is contained in:
BuyMyMojo 2025-04-02 11:18:50 +11:00
parent ae9ce4bb2c
commit aee7e2f6d1
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
4 changed files with 32 additions and 6 deletions

View file

@ -77,6 +77,12 @@
EDITOR = "nvim";
};
programs.ssh.matchBlocks = {
"*" = {
identityFile = "/home/buymymojo/.ssh/id_ed25519";
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View file

@ -76,6 +76,12 @@
signing.key = "E7B7B8D20C8753C077F9B17119AB7AA462B8AB3B";
};
programs.ssh.matchBlocks = {
"*" = {
identityFile = "/home/buymymojo/.ssh/id_ed25519-mainpc";
};
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View file

@ -65,14 +65,28 @@ in
};
};
# programs.bellado = {
# enable = true;
# enableAliases = true;
# };
programs.bellado = {
enable = true;
enableAliases = true;
};
programs.ssh.enable = true;
programs.ssh.addKeysToAgent = "yes";
# === ssh ===
programs.ssh.matchBlocks = {
"game2.buymymojo.net" = {
hostname = "game2.buymymojo.net";
user = "jumpbox";
};
"git.aria.coffee" = {
hostname = "git.aria.coffee";
user = "git";
port = 23;
};
};
# === shells ===
programs.bash.enable = true;
programs.fish.enable = true;