feat: Disable ssh enableDefaultConfig

This commit is contained in:
2026-02-01 02:17:24 +05:30
parent 1bb14d4c62
commit da8f61ca5d

View File

@@ -6,6 +6,7 @@
}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
tsuba = {
user = "servius";
@@ -45,13 +46,13 @@
hostname = "steamdeck";
forwardAgent = true;
};
# "*" = {
# forwardAgent = false;
# addKeysToAgent = "no";
# # compression = true;
# # HashKnownHosts = "no";
# serverAliveInterval = 60;
# };
"*" = {
forwardAgent = false;
addKeysToAgent = "no";
# compression = true;
# HashKnownHosts = "no";
serverAliveInterval = 60;
};
};
extraConfig =
lib.strings.optionalString (pkgs.stdenv.isDarwin && !device.isServer)