From ce0fb9a6894e0e56e40a7193516b5319cf6fadbb Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 5 Feb 2024 17:41:27 -0600 Subject: [PATCH] add authorized key --- modules/users/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/users/default.nix b/modules/users/default.nix index 113f41a..cf852a0 100644 --- a/modules/users/default.nix +++ b/modules/users/default.nix @@ -18,11 +18,15 @@ in { config = mkIf cfg { users.users.daylin = { isNormalUser = true; + shell = pkgs.zsh; extraGroups = [ "wheel" # sudo ]; initialPassword = "nix"; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkezPIhB+QW37G15ZV3bewydpyEcNlYxfHLlzuk3PH9" + ]; }; }; }