From 1a90d94d095c5b957eaf42a757fa2c3243ddb118 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 20 Oct 2023 20:26:47 -0400 Subject: [PATCH] hosts: update keys --- hosts/arashi/default.nix | 5 ++++- hosts/kariru/default.nix | 5 ++++- hosts/sakura/default.nix | 5 ++++- hosts/sora/default.nix | 5 ++++- hosts/tsuru/default.nix | 5 ++++- hosts/yuki/default.nix | 5 ++++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/hosts/arashi/default.nix b/hosts/arashi/default.nix index 7bad61f..dbbabd7 100644 --- a/hosts/arashi/default.nix +++ b/hosts/arashi/default.nix @@ -28,6 +28,9 @@ }; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKWRbIwwHuyEOLhA9dKTf4TgFqtPR5MNcJorKm731S7G arashi'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKWRbIwwHuyEOLhA9dKTf4TgFqtPR5MNcJorKm731S7G arashi" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; } diff --git a/hosts/kariru/default.nix b/hosts/kariru/default.nix index 2ed3b0c..6901a28 100644 --- a/hosts/kariru/default.nix +++ b/hosts/kariru/default.nix @@ -24,6 +24,9 @@ }; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmWafzbhah18nm2z1epc6139XVlcKT0ndAI0wbLj+/6 kariru'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPmWafzbhah18nm2z1epc6139XVlcKT0ndAI0wbLj+/6 kariru" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; } diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 7c218a0..9bad1ce 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -26,6 +26,9 @@ }; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqAjaV2D2J8ln4n39ZvszCF5Jql+0IaSpFCJlzDSLv6 sakura'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICqAjaV2D2J8ln4n39ZvszCF5Jql+0IaSpFCJlzDSLv6 sakura" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + " ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; } diff --git a/hosts/sora/default.nix b/hosts/sora/default.nix index 00f4165..27569b6 100644 --- a/hosts/sora/default.nix +++ b/hosts/sora/default.nix @@ -10,6 +10,9 @@ _: { zramSwap.enable = true; networking.hostName = "sora"; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGmI3hRDFjxLjrM3pE471e4jxSlcqeizh3iNVVdaMHeN sora'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGmI3hRDFjxLjrM3pE471e4jxSlcqeizh3iNVVdaMHeN sora" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; } diff --git a/hosts/tsuru/default.nix b/hosts/tsuru/default.nix index 69468b3..033e6fa 100644 --- a/hosts/tsuru/default.nix +++ b/hosts/tsuru/default.nix @@ -24,6 +24,9 @@ }; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKwby2FLCKFZZlOLDRhsm9GckyYAuyk0mq28jRD02tdv tsuru'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKwby2FLCKFZZlOLDRhsm9GckyYAuyk0mq28jRD02tdv tsuru" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; } diff --git a/hosts/yuki/default.nix b/hosts/yuki/default.nix index fca7feb..8edc031 100644 --- a/hosts/yuki/default.nix +++ b/hosts/yuki/default.nix @@ -24,6 +24,9 @@ }; users.users.notoh.openssh.authorizedKeys.keys = [ - ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINoLDqOjZIQQ+YYir9MQnlh8wgqI1dz5nYL054OnIgDa yuki'' + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINoLDqOjZIQQ+YYir9MQnlh8wgqI1dz5nYL054OnIgDa yuki" + ]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINGPcRO9BzKIhAxiyVnRIcByaMTrxeeeJqB8iXcmhrI4 forgejo" ]; }