mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 10:30:44 +02:00
nixos: 25.11 -> 26.05
This commit is contained in:
@@ -3,19 +3,20 @@ _: {
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
||||
matchBlocks."*" = {
|
||||
/*settings = {
|
||||
# equivalent to the default config
|
||||
forwardAgent = false;
|
||||
addKeysToAgent = "no";
|
||||
compression = false;
|
||||
#forwardAgent = false;
|
||||
# give errors in home-manager 26.05
|
||||
#addKeysToAgent = "no";
|
||||
#compression = false;
|
||||
serverAliveInterval = 0;
|
||||
serverAliveCountMax = 3;
|
||||
hashKnownHosts = false;
|
||||
userKnownHostsFile = "~/.ssh/known_hosts";
|
||||
controlMaster = "no";
|
||||
controlPath = "~/.ssh/master-%r@%n:%p";
|
||||
controlPersist = "no";
|
||||
};
|
||||
#controlMaster = "no";
|
||||
#controlPath = "~/.ssh/master-%r@%n:%p";
|
||||
#controlPersist = "no";
|
||||
};*/
|
||||
};
|
||||
services.ssh-agent.enable = true;
|
||||
home.file.".ssh/config".text = ''
|
||||
|
||||
Reference in New Issue
Block a user