users/jordan: add ssh-agent and defaults

This commit is contained in:
2026-01-10 14:06:44 +00:00
parent 40dec61850
commit 092ba79bf6

View File

@@ -5,6 +5,24 @@
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks."*" = {
forwardAgent = false;
addKeysToAgent = "yes";
compression = false;
serverAliveInterval = 0;
serverAliveCountMax = 3;
hashKnownHosts = false;
userKnownHostsFile = "~/.ssh/known_hosts";
controlMaster = "no";
controlPath = "~/.ssh/master-%r@%n:%p";
controlPersist = "no";
};
};
services.ssh-agent = {
enable = true;
enableZshIntegration = true;
};
home.persistence."/state".files = [