From 2bfab7759067b699be0a0438c8d5cd029e9fb676 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 1 Jun 2021 10:00:30 -0400 Subject: [PATCH] Bring in production users too --- morph/grid/production/grid.nix | 2 +- morph/grid/production/users.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 morph/grid/production/users.nix diff --git a/morph/grid/production/grid.nix b/morph/grid/production/grid.nix index c65f6832..69a17602 100644 --- a/morph/grid/production/grid.nix +++ b/morph/grid/production/grid.nix @@ -6,7 +6,7 @@ import ../../lib/make-grid.nix { config = ./config.json; nodes = cfg: let - sshUsers = import ./secrets/production-users.nix; + sshUsers = import ./users.nix; in { # Here are the hosts that are in this morph network. This is sort of like # a server manifest. We try to keep as many of the specific details as diff --git a/morph/grid/production/users.nix b/morph/grid/production/users.nix new file mode 100644 index 00000000..d3520076 --- /dev/null +++ b/morph/grid/production/users.nix @@ -0,0 +1,2 @@ +let key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGN4VQm3BIQKEFTw6aPrEwNuShf640N+Py2LOKznFCRT exarkun@bottom"; +in { "root" = key; jcalderone = key; } -- GitLab