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;