From cc166f8794adc0ae676b68156d8b1c20f232f59b Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 25 Dec 2025 01:25:29 +0100 Subject: [PATCH] feat(hosts/server): adding the sshkey for connection --- hosts/server/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 7e122f8..f2ea58b 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -6,6 +6,9 @@ ... }: +let + sshKeyMac = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbHk7YasSMK5FBCArKLeqIoaGXsN+WlgVquObyC5Zec raphael@MacBook-Pro-de-raphael.local"; +in { imports = [ ../global.nix @@ -122,6 +125,9 @@ efi.canTouchEfiVariables = true; }; + users.users.raphael.openssh.authorizedKeys.keys = [ + sshKeyMac + ]; services = { seatd.enable = true; xserver = {