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