From 0b3b36419e4892a28d69eb8ebef541e0e7207674 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 13 Dec 2023 20:13:00 +0900 Subject: [PATCH] Testing --- home-manager/users/albert/default.nix | 4 ++-- home-manager/users/albert/keys.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 home-manager/users/albert/keys.txt diff --git a/home-manager/users/albert/default.nix b/home-manager/users/albert/default.nix index 94cd5512..53903c61 100644 --- a/home-manager/users/albert/default.nix +++ b/home-manager/users/albert/default.nix @@ -19,10 +19,10 @@ pinentry-program /run/current-system/sw/bin/pinentry-curses ''; - # Copy authorized keys to ~/.ssh/authorized_keys + # Cop authorized keys to ~/.ssh/authorized_keys home.file."authorized_keys" = { enable = true; - source = "../../../keys/ssh/keys.txt"; + source = "./keys.txt"; target = ".ssh/authorized_keys"; }; diff --git a/home-manager/users/albert/keys.txt b/home-manager/users/albert/keys.txt new file mode 120000 index 00000000..41505018 --- /dev/null +++ b/home-manager/users/albert/keys.txt @@ -0,0 +1 @@ +../../../keys/ssh/keys.txt \ No newline at end of file