From d82a70eba2a7abc9760882684b08b798952645b0 Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Thu, 23 Oct 2025 23:38:08 +0100 Subject: [PATCH] fix(hosts): ssh agent add keys --- nix/hosts/doloro-wsl/home.nix | 8 +++++++- nix/hosts/doloro/home.nix | 9 ++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/nix/hosts/doloro-wsl/home.nix b/nix/hosts/doloro-wsl/home.nix index 1cd2e4e..50808d4 100644 --- a/nix/hosts/doloro-wsl/home.nix +++ b/nix/hosts/doloro-wsl/home.nix @@ -106,7 +106,13 @@ programs = { home-manager.enable = true; ssh = { - matchBlocks."*".addKeysToAgent = "yes"; + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + }; + }; }; }; } diff --git a/nix/hosts/doloro/home.nix b/nix/hosts/doloro/home.nix index 7ecc15a..d7b68c0 100644 --- a/nix/hosts/doloro/home.nix +++ b/nix/hosts/doloro/home.nix @@ -119,9 +119,16 @@ }; xdg.configFile."mimeapps.list".force = true; # Let Home Manager install and manage itself. + programs = { ssh = { - matchBlocks."*".addKeysToAgent = "yes"; + enable = true; + enableDefaultConfig = false; + matchBlocks = { + "*" = { + addKeysToAgent = "yes"; + }; + }; }; home-manager.enable = true; };