change file copy to soft link

This commit is contained in:
2025-04-26 19:35:04 +08:00
parent ccf46b865e
commit 3088f2aea8
6 changed files with 29 additions and 57 deletions

View File

@@ -1,10 +1,9 @@
{ config, ... }:
{
{ config, ... }: {
programs.ssh = {
enable = true;
};
home.file.".ssh/config" = {
source = ./config;
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.nix/profiles/apollo/hm/ssh/config";
};
}