From 6340357428bb0d8db19c6ce3e9a40acd3463a24e Mon Sep 17 00:00:00 2001 From: oqyude Date: Thu, 16 Oct 2025 10:58:29 +0300 Subject: [PATCH] 123 --- home/server.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/home/server.nix b/home/server.nix index 360d27e..1b02d12 100644 --- a/home/server.nix +++ b/home/server.nix @@ -8,7 +8,7 @@ let # Paths beetsPath = "${xlib.dirs.storage}/beets/linux"; - sshPath = "${xlib.dirs.storage}/ssh/${xlib.device.hostname}"; + sshPath = "${xlib.dirs.storage}/ssh"; musicPath = "${config.home.homeDirectory}/External/Music"; in { @@ -39,9 +39,13 @@ in }; home = { file = { - ".ssh" = { - source = config.lib.file.mkOutOfStoreSymlink sshPath; - target = ".ssh"; + "ssh-config" = { + source = config.lib.file.mkOutOfStoreSymlink ${sshPath}/config; + target = ".ssh/config"; + }; + "ssh-known" = { + source = config.lib.file.mkOutOfStoreSymlink ${sshPath}/known_hosts; + target = ".ssh/known_hosts"; }; "Music" = { source = config.lib.file.mkOutOfStoreSymlink musicPath;