chore: update ssh config

This commit is contained in:
Nickolaj Jepsen 2025-03-24 09:49:44 +01:00
parent 753f94f4ff
commit d824f991d4

View file

@ -34,16 +34,30 @@ in {
user = "server";
};
# Work hostnames definded in ./networking.nix
"*.ao" = {
"bastion.ao" = {
user = "nij";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
"dev.ao".proxyJump = lib.mkDefault "bastion.ao";
"scw.ao".proxyJump = lib.mkDefault "dev.ao";
"clickhouse.ao".user = "ubuntu";
"clickhouse.ao" = {
user = "ubuntu";
proxyJump = lib.mkDefault "bastion.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
"flex.ao" = {
user = "nij";
hostname = "192.168.2.5";
proxyJump = "bastion.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
"scw.ao" = {
user = "nij";
proxyJump = lib.mkDefault "dev.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
"dev.ao" = {
user = "nij";
proxyJump = lib.mkDefault "bastion.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
};
};