mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06: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";
|
||||
};
|
||||
# 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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue