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

4
nixos/flake.lock generated
View file

@ -327,11 +327,11 @@
"locked": { "locked": {
"lastModified": 1, "lastModified": 1,
"narHash": "sha256-rADqSJu492bURPi5fmvPyeG1B5bV3k2hfGR+VfHn1Ig=", "narHash": "sha256-rADqSJu492bURPi5fmvPyeG1B5bV3k2hfGR+VfHn1Ig=",
"path": "/nix/store/x6r1qh9vy8k22l9jiyx250qxnmrz57z2-source/nixos/programs/shadps4", "path": "/nix/store/8yv77m1p7y4byxi78s4m3xww3023fvqj-source/nixos/programs/shadps4",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "/nix/store/x6r1qh9vy8k22l9jiyx250qxnmrz57z2-source/nixos/programs/shadps4", "path": "/nix/store/8yv77m1p7y4byxi78s4m3xww3023fvqj-source/nixos/programs/shadps4",
"type": "path" "type": "path"
} }
}, },

View file

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

View file

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

View file

@ -65,14 +65,28 @@ in
}; };
}; };
# programs.bellado = { programs.bellado = {
# enable = true; enable = true;
# enableAliases = true; enableAliases = true;
# }; };
programs.ssh.enable = true; programs.ssh.enable = true;
programs.ssh.addKeysToAgent = "yes"; 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 === # === shells ===
programs.bash.enable = true; programs.bash.enable = true;
programs.fish.enable = true; programs.fish.enable = true;