From 2ac22a72455341a3efced289782fe5daf5d788ee Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 17 Aug 2026 15:25:55 +0530 Subject: refactor: rewrote how ssh keys are handled in gopass-ssh-load - all ssh keys that are used under ssh/ have to be explicitely added via security.ssh.gopassKeys = [ ... ] --- modules/security/ssh/git.nix | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 modules/security/ssh/git.nix (limited to 'modules/security/ssh/git.nix') diff --git a/modules/security/ssh/git.nix b/modules/security/ssh/git.nix deleted file mode 100644 index 146bfb9..0000000 --- a/modules/security/ssh/git.nix +++ /dev/null @@ -1,23 +0,0 @@ -# SSH host configurations for git platforms -{ config, lib, ... }: -let - hosts = [ - "github.com" - "gitlab.com" - "bitbucket.org" - "codeberg.org" - "git.sr.ht" - ]; - - mkGitHost = - domain: - lib.nameValuePair domain { - hostname = domain; - user = "git"; - }; -in -{ - config = lib.mkIf (config.security.ssh.enable && config.development.git.useSSH) { - programs.ssh.settings = builtins.listToAttrs (map mkGitHost hosts); - }; -} -- cgit v1.2.3