This commit is contained in:
암냥 2026-07-26 14:17:57 +09:00
commit bf86d249da
No known key found for this signature in database
5 changed files with 23 additions and 139 deletions

View file

@ -1,24 +1,23 @@
{ ... }: {
programs.ssh = {
enable = true;
matchBlocks = {
enableDefaultConfig = false;
settings = {
"*" = {
forwardAgent = false;
identityAgent = "~/.1password/agent.sock";
setEnv = {
ForwardAgent = false;
IdentityAgent = "~/.1password/agent.sock";
SetEnv = {
TERM = "xterm-256color";
};
extraOptions = {
ServerAliveInterval = "0";
ServerAliveCountMax = "3";
Compression = "no";
AddKeysToAgent = "no";
HashKnownHosts = "no";
UserKnownHostsFile = "~/.ssh/known_hosts";
ControlMaster = "no";
ControlPath = "~/.ssh/master-%r@%n:%p";
ControlPersist = "no";
};
ServerAliveInterval = 0;
ServerAliveCountMax = 3;
Compression = false;
AddKeysToAgent = "no";
HashKnownHosts = false;
UserKnownHostsFile = "~/.ssh/known_hosts";
ControlMaster = "no";
ControlPath = "~/.ssh/master-%r@%n:%p";
ControlPersist = "no";
};
};
};