mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
chore: update ssh config
This commit is contained in:
parent
753f94f4ff
commit
d824f991d4
1 changed files with 18 additions and 4 deletions
|
|
@ -34,16 +34,30 @@ in {
|
||||||
user = "server";
|
user = "server";
|
||||||
};
|
};
|
||||||
# Work hostnames definded in ./networking.nix
|
# Work hostnames definded in ./networking.nix
|
||||||
"*.ao" = {
|
"bastion.ao" = {
|
||||||
user = "nij";
|
user = "nij";
|
||||||
identityFile = "${config.age.secrets.ssh-key-ao.path}";
|
identityFile = "${config.age.secrets.ssh-key-ao.path}";
|
||||||
};
|
};
|
||||||
"dev.ao".proxyJump = lib.mkDefault "bastion.ao";
|
"clickhouse.ao" = {
|
||||||
"scw.ao".proxyJump = lib.mkDefault "dev.ao";
|
user = "ubuntu";
|
||||||
"clickhouse.ao".user = "ubuntu";
|
proxyJump = lib.mkDefault "bastion.ao";
|
||||||
|
identityFile = "${config.age.secrets.ssh-key-ao.path}";
|
||||||
|
};
|
||||||
"flex.ao" = {
|
"flex.ao" = {
|
||||||
|
user = "nij";
|
||||||
hostname = "192.168.2.5";
|
hostname = "192.168.2.5";
|
||||||
proxyJump = "bastion.ao";
|
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}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue