From 751154542cfbc08b8706ed8357bee9fb3952551e Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 16 Mar 2025 13:06:43 +0000 Subject: ahmed: Allow omar to do remote builds --- hosts/ahmed/remote-builder/default.nix | 5 ++++- metadata.toml | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/hosts/ahmed/remote-builder/default.nix b/hosts/ahmed/remote-builder/default.nix index 1432b11..63031a6 100644 --- a/hosts/ahmed/remote-builder/default.nix +++ b/hosts/ahmed/remote-builder/default.nix @@ -11,7 +11,10 @@ # Allow SSH connections by the Nix client. # This is matched with the ssh config IdentityFile on the client-side. - openssh.authorizedKeys.keys = [metadata.hosts.muhammed.sshPubKey]; + openssh.authorizedKeys.keys = [ + metadata.hosts.muhammed.sshPubKey + metadata.hosts.omar.sshPubKey + ]; }; users.groups.remotebuilder = {}; diff --git a/metadata.toml b/metadata.toml index abff3ca..296c11d 100644 --- a/metadata.toml +++ b/metadata.toml @@ -7,3 +7,7 @@ sshPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOodiSwTcZcaZxqLyHjI2MGe1CpIBvI [hosts.muhammed] ipAddress = "192.168.68.111" sshPubKey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDcmUCfFA/arYpT0zBWoOXcyxN5bgk5cMrWgTIol5RsHB82VzoS+LG3IV4IwBz4QALaCj5DlhfbasGKMkFRgFvLerEtBleIb58RtOXIOf6TIUaqpyHB3h2CjdwrbmyjjWEl9W2BTpadrR5uPr0HoeED8dCFYE5cPjrSELtrYxEW0o1DBJw8bXfpgyYB21loBzrcOhRsrPSaS0gYHZLGY7Av7FGfncVZDLNYL0/pZ/t0UWD6JF+6FgOdGWAuuwSt5WR9DVxGilVG5aFktDB14fNPEBIVf7tkT4/McAihR/u344yaiUWA4bV7w039Ubhn9NdnoBSvGrP6jTy/zDgq5ywFj8aqcdlahxtELNWgxYYrI8HZzvITKo1FU7BOcUN1vNS4npOvyWBl7s3jFCO+R2E/BoyjfsjYTylacpepf26D87U32jNsh39OKdHxRF3/qmMGYa1L7N4M0iT9WFEMCcKB/MMAcHgE25vWPQaY1orU8X8NZPhxjfIVcw1rqcjwCryNwb1ZOMTIEc9kbGiP99MhE7ZA0yvHZfMezeymSwg1kN+iJDTp24gSsFtYuz5vm9lRu/PzfU9lNlp2KHdaLISUouSCCHPgF7zZSWtXa1B920zrAg2Fco8/Iymh+Fa0UNnrbnfyQTgLeNT12SLD4Y5gHimUsuq8tFkxjR6WffmrRw==" + +[hosts.omar] +ipAddress = "192.168.68.121" +sshPubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPL4c3/PvblXuLFk308W5b3DzkjNu601lib65s9aIgc6 linus@omar" -- cgit v1.2.3