From 75c825dc2584d707dc77db8e44b8e14e7384e8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 6 Jul 2022 15:10:47 +0200 Subject: [PATCH] feat(ssh): fysi machines --- configs/ssh.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/ssh.nix b/configs/ssh.nix index 9f90f2d..af15cb5 100644 --- a/configs/ssh.nix +++ b/configs/ssh.nix @@ -6,6 +6,7 @@ }: let inherit (import ) sshPort kieran; externalNetwork = import ; + sshIdentity = name: "${config.users.users.me.home}/.ssh/${name}"; in { services.xserver.displayManager.sessionCommands = "${pkgs.openssh}/bin/ssh-add"; @@ -58,6 +59,16 @@ in { hostname = "135.181.85.233"; user = "root"; }; + "fysi-dev1" = { + hostname = "94.130.229.139"; + user = "root"; + identityFile = sshIdentity "fysiweb"; + }; + "fysi-shared0" = { + hostname = "49.12.205.235"; + user = "root"; + identityFile = sshIdentity "fysiweb"; + }; }; }; }