Add ssh config repo

This commit is contained in:
Emi Simpson 2022-12-19 12:24:58 -05:00
parent 3d6234c603
commit 5c83387057
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -87,6 +87,36 @@
programs.neovim = import programs/neovim.nix pkgs;
programs.gpg.enable = true;
programs.jq.enable = true;
programs.ssh = {
enable = true;
compression = true;
controlMaster = "auto";
controlPath = "~/.ssh/sockets/socket-%r@%h:%p";
controlPersist = "1m";
forwardAgent = true;
matchBlocks = {
foss-dashboard.hostname = "foss-dashboard.rit.edu";
foss-dashboard.proxyCommand = "ssh glados -W %h:%p";
foss-dashboard.user = "emi";
glados.hostname = "129.21.22.196";
glados.user = "tts1848";
muscaria.hostname = "69.61.2.204";
muscaria.user = "emi";
oak.hostname = "oak.corviform.gay";
oak.port = 57452;
oak.user = "emi";
serenity.hostname = "serenity.ist.rit.edu";
serenity.user = "tts1848";
serenity.proxyCommand = "ssh glados -W %h:%p";
sol.hostname = "sol.is.geeky.gay";
sol.user = "emi";
};
};
services.gpg-agent = {
enable = true;
maxCacheTtl = 180; # Seconds