HASH 2b0d24332a70
DATE 2025-10-23
SUBJECT ssh: user new home-manager ssh options
FILES 1 CHANGED
HASH 2b0d24332a70
DATE 2025-10-23
SUBJECT ssh: user new home-manager ssh options
FILES 1 CHANGED
┌─ modules/home/console/tools/ssh.nix ───────────────────────────────────────┐
│ diff --git a/modules/home/console/tools/ssh.nix b/modules/home/console/tools/ssh.n │
│ ix │
│ index e13e177..1f572d8 100644 │
│ --- a/modules/home/console/tools/ssh.nix │
│ +++ b/modules/home/console/tools/ssh.nix │
│ @@ -9,9 +9,12 @@ in { │
│ config = mkIf cfg.enable { │
│ programs.ssh = { │
│ enable = true; │
│ - compression = true; │
│ - hashKnownHosts = true; │
│ + enableDefaultConfig = false; │
│ matchBlocks = { │
│ + "*" = { │
│ + compression = true; │
│ + hashKnownHosts = true; │
│ + }; │
│ "github.com" = { │
│ user = "git"; │
│ hostname = "github.com"; │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ ...es/home/console/tools/ssh.nix ───┐
│ diff --git a/modules/home/console/tools/ssh. │
│ nix b/modules/home/console/tools/ssh.nix │
│ index e13e177..1f572d8 100644 │
│ --- a/modules/home/console/tools/ssh.nix │
│ +++ b/modules/home/console/tools/ssh.nix │
│ @@ -9,9 +9,12 @@ in { │
│ config = mkIf cfg.enable { │
│ programs.ssh = { │
│ enable = true; │
│ - compression = true; │
│ - hashKnownHosts = true; │
│ + enableDefaultConfig = false; │
│ matchBlocks = { │
│ + "*" = { │
│ + compression = true; │
│ + hashKnownHosts = true; │
│ + }; │
│ "github.com" = { │
│ user = "git"; │
│ hostname = "github.com"; │
└──────────────────────────────────────────────┘
[ BACK TO LOG ]
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET