Skip to content

Commit f1302e6

Browse files
committed
fix(apps.ssh): make sunlei/zsh-ssh works again
1 parent 51adf51 commit f1302e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/apps/ssh.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
enable = true;
55
includes = [
66
"~/.ssh/override_config"
7-
"${config.age.secrets.ssh_host_config.path}"
7+
# "${config.age.secrets.ssh_host_config.path}" # `sunlei/zsh-ssh` can't resolve absolute path
8+
"$~/.ssh/host_configuration"
89
];
910
matchBlocks."*" = {
1011
addKeysToAgent = "no";
@@ -15,6 +16,6 @@
1516
serverAliveInterval = 300;
1617
serverAliveCountMax = 10;
1718
};
18-
enableDefaultConfig = false; # this option will be deprecated, so don't use it.
19+
enableDefaultConfig = false; # this option will be deprecated, so set it to false
1920
};
2021
}

0 commit comments

Comments
 (0)