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