From 3e232a2bc7f5c8ea33804be1ea071a91c5f98055 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 24 Apr 2026 01:48:30 +0530 Subject: replacing tools with programs to be more consistent with config options --- modules/tools/openssh/default.nix | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 modules/tools/openssh/default.nix (limited to 'modules/tools/openssh') diff --git a/modules/tools/openssh/default.nix b/modules/tools/openssh/default.nix deleted file mode 100644 index 974dd3a..0000000 --- a/modules/tools/openssh/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: - -# OpenSSH - Secure shell (SSH) client for encrypted remote connections -{ - options.tools.openssh = { - enable = lib.mkEnableOption "Enables OpenSSH client."; - }; - - config = lib.mkIf config.tools.openssh.enable { - programs.ssh = { - enable = true; - package = pkgs.openssh; - enableDefaultConfig = false; - extraOptionOverrides = { - AddKeysToAgent = "yes"; - ForwardAgent = "yes"; - ServerAliveInterval = "60"; - ServerAliveCountMax = "3"; - VisualHostKey = "yes"; - HashKnownHosts = "yes"; - }; - matchBlocks = { - "github.com" = { - hostname = "github.com"; - user = "git"; - identityFile = "${config.home.homeDirectory}/.ssh/github"; - }; - }; - }; - }; -} -- cgit v1.2.3