summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2025-03-16 13:06:43 +0000
committerLinnnus <[email protected]>2025-03-16 13:06:43 +0000
commit751154542cfbc08b8706ed8357bee9fb3952551e (patch)
tree1b365baded605645b4889e257fde38740d0a0c10
parent617dd624903cdb23951f1484c19bc1574b10fa74 (diff)
ahmed: Allow omar to do remote builds
-rw-r--r--hosts/ahmed/remote-builder/default.nix5
-rw-r--r--metadata.toml4
2 files changed, 8 insertions, 1 deletions
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"