From b40c9342aa5d67aab06e9894f621bdcf6137b9b5 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 28 Aug 2025 22:58:17 -0400 Subject: [PATCH] Force passphrase always --- modules/home/all/ssh.nix | 23 ----------------------- modules/home/default.nix | 1 - 2 files changed, 24 deletions(-) delete mode 100644 modules/home/all/ssh.nix diff --git a/modules/home/all/ssh.nix b/modules/home/all/ssh.nix deleted file mode 100644 index 6201514..0000000 --- a/modules/home/all/ssh.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ pkgs, lib, ... }: -{ - programs.ssh = { - enable = true; - enableDefaultConfig = false; - - # Explicitly set default SSH configuration - matchBlocks = { - "*" = { - addKeysToAgent = "yes"; - setEnv = { - # https://ghostty.org/docs/help/terminfo#configure-ssh-to-fall-back-to-a-known-terminfo-entry - TERM = "xterm-256color"; - }; - }; - pureintent = { - forwardAgent = true; - }; - }; - }; - - services.ssh-agent = lib.mkIf pkgs.stdenv.isLinux { enable = true; }; -} diff --git a/modules/home/default.nix b/modules/home/default.nix index bfdc022..9007549 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -3,7 +3,6 @@ imports = [ ./all/tmux.nix ./all/neovim - ./all/ssh.nix ./all/starship.nix ./all/terminal.nix ./all/nix.nix