From e7be60895a71b95fe619c4c035afd67867454723 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 5 Aug 2024 17:09:47 -0700 Subject: set the ssh key for user fcuny --- nix/hosts/nixos/user.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'nix/hosts/nixos') diff --git a/nix/hosts/nixos/user.nix b/nix/hosts/nixos/user.nix index b358d3e..dbd8057 100644 --- a/nix/hosts/nixos/user.nix +++ b/nix/hosts/nixos/user.nix @@ -3,10 +3,12 @@ users.users.fcuny = { uid = 1000; isNormalUser = true; - extraGroups = - [ - "wheel" - "dialout" # Enable access to serial devices - ]; + extraGroups = [ + "wheel" + "dialout" # Enable access to serial devices + ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi" + ]; }; } -- cgit v1.2.3