From b674a8be1b0fe8799821d057ae8f1fb0eff22ff8 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 7 Jun 2024 21:46:15 +0200 Subject: [PATCH] Add pub key --- hosts/server/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index 077f4b0..0590c3c 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -32,6 +32,9 @@ in { isNormalUser = true; description = "${variable.username} account"; extraGroups = [ "wheel" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBVDICWA/+W3Qqgoxw6pIwPAjRmTYKWnsEPD/cRTNgzP hadi@heaven" + ]; }; console.keyMap = variable.keyboardLayout;