From b34e79f704e7adeb2b41f1c53f4d61f1c77ac1b6 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 13 Dec 2023 19:10:18 +0900 Subject: [PATCH] Test adding ssh keys to ~/.ssh/authorized_keys --- home-manager/users/albert/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index ac5148f3..0616260e 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -19,6 +19,12 @@ pinentry-program /run/current-system/sw/bin/pinentry-curses ''; + # Copy authorized keys to ~/.ssh/authorized_keys + home.file.".ssh/authorized_keys" = { + source = "/etc/ssh/authorized_keys.d/albert"; + target = ".ssh/authorized_keys"; + }; + accounts = { email = { accounts."sysctl" = {