From 658c98934b617d9b8eef00318d9f80608be0b726 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 1 Nov 2020 14:42:52 +0000 Subject: [PATCH] nixos/lib/common: update SSH authorized_keys --- ops/nixos/lib/common.nix | 6 ++++++ ops/secrets/deployer_ed25519.pub | 3 +-- ops/secrets/lukegb_porcorosso_win.pub | 1 + ops/secrets/lukegb_porcorosso_wsl.pub | 1 + ops/secrets/lukegb_termius.pub | 1 + ops/secrets/lukegb_totoro.pub | 1 + 6 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 ops/secrets/lukegb_porcorosso_win.pub create mode 100644 ops/secrets/lukegb_porcorosso_wsl.pub create mode 100644 ops/secrets/lukegb_termius.pub create mode 100644 ops/secrets/lukegb_totoro.pub diff --git a/ops/nixos/lib/common.nix b/ops/nixos/lib/common.nix index 8675135cb0..f8adf120b7 100644 --- a/ops/nixos/lib/common.nix +++ b/ops/nixos/lib/common.nix @@ -61,6 +61,12 @@ in uid = 1000; extraGroups = [ "wheel" ]; hashedPassword = secrets.passwordHashes.lukegb; + openssh.authorizedKeys.keyFiles = [ + ../../secrets/lukegb_totoro.pub + ../../secrets/lukegb_termius.pub + ../../secrets/lukegb_porcorosso_win.pub + ../../secrets/lukegb_porcorosso_wsl.pub + ]; }; deployer = { isSystemUser = true; diff --git a/ops/secrets/deployer_ed25519.pub b/ops/secrets/deployer_ed25519.pub index 668651f049..c16dba0ef5 100644 --- a/ops/secrets/deployer_ed25519.pub +++ b/ops/secrets/deployer_ed25519.pub @@ -1,6 +1,5 @@ -# SPDX-FileCopyrightText: 2020 2020 Luke Granger-Brown # SPDX-FileCopyrightText: 2020 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAz3ZptYA9SjCtZEQwF8/ACCO0W3Edh9asAmNGE2U4bQ lukegb@porcorosso \ No newline at end of file +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAz3ZptYA9SjCtZEQwF8/ACCO0W3Edh9asAmNGE2U4bQ lukegb@porcorosso diff --git a/ops/secrets/lukegb_porcorosso_win.pub b/ops/secrets/lukegb_porcorosso_win.pub new file mode 100644 index 0000000000..ebfa34e880 --- /dev/null +++ b/ops/secrets/lukegb_porcorosso_win.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBhuv1j7GIU58cDYODfShn3c7yMZHjI9M30YXSnEI8L6 PORCOROSSO-windows diff --git a/ops/secrets/lukegb_porcorosso_wsl.pub b/ops/secrets/lukegb_porcorosso_wsl.pub new file mode 100644 index 0000000000..bf95d9fb93 --- /dev/null +++ b/ops/secrets/lukegb_porcorosso_wsl.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMhQ3yjf59eQjOfVXzXz5u8BS5c6hdL1yY8GqccaIjx3 porcorosso-wsl2 diff --git a/ops/secrets/lukegb_termius.pub b/ops/secrets/lukegb_termius.pub new file mode 100644 index 0000000000..0293da1189 --- /dev/null +++ b/ops/secrets/lukegb_termius.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINytpHct7PLdLNp6MoaOPP7ccBPUQKymVNMqix//Wt1f termius diff --git a/ops/secrets/lukegb_totoro.pub b/ops/secrets/lukegb_totoro.pub new file mode 100644 index 0000000000..1381f4078e --- /dev/null +++ b/ops/secrets/lukegb_totoro.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKuJTXRhLCePkOiM/DJaPcNqQtcccX5kYq/FJU+RXtxp lukegb@totoro