From 79fb65873f8501e27f672831fb5f72ed2113a1b8 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sat, 8 Feb 2025 03:09:28 +0530 Subject: [PATCH] feat: Added allowed ssh key in shiro --- darwin/shiro/configuration.nix | 4 ++++ deploy.nix | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/darwin/shiro/configuration.nix b/darwin/shiro/configuration.nix index f97b0825..902527db 100644 --- a/darwin/shiro/configuration.nix +++ b/darwin/shiro/configuration.nix @@ -34,6 +34,10 @@ distributedBuilds = true; }; + users.users.servius = { + # isNormalUser = true; + openssh.authorizedKeys.keyFiles = [../../secrets/id_ed25519.pub]; + }; users.users.remotebuilder = { # isNormalUser = true; openssh.authorizedKeys.keyFiles = [../../secrets/id_ed25519.pub]; diff --git a/deploy.nix b/deploy.nix index 9e06d4e1..413b4507 100644 --- a/deploy.nix +++ b/deploy.nix @@ -30,7 +30,7 @@ }; }; shiro = { - hostname = "kuro"; + hostname = "shiro"; interactiveSudo = true; profiles.system = { sshUser = "servius";