From de1bfdcbe6f3b931628650db0691b187daa65ae7 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 2 Sep 2025 20:24:16 +0200 Subject: [PATCH] Fix configuration deprecation --- home/common.nix | 2 +- modules/ssh.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/home/common.nix b/home/common.nix index d8f644f..ffc3b4c 100644 --- a/home/common.nix +++ b/home/common.nix @@ -2,7 +2,7 @@ { imports = [ - nixvim.homeManagerModules.nixvim + nixvim.homeModules.nixvim ../modules/nvim.nix ../modules/tmux.nix ../modules/zsh.nix diff --git a/modules/ssh.nix b/modules/ssh.nix index c9031d5..dfb5369 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -3,9 +3,13 @@ { programs.ssh = { enable = true; - addKeysToAgent = "yes"; + enableDefaultConfig = false; matchBlocks = { + + "*" = { + addKeysToAgent = "yes"; + }; "github.com" = { hostname = "github.com";