From f4752f0cf338b89084cbf917b2de88113aeac9f7 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 2 Sep 2026 17:37:43 +0530 Subject: feat(development/git): removed the useSSH option - development.git.useSSH was a pretty pointless option, if ssh needs to be used we will use the ssh url or http url depending on needs --- modules/development/git/default.nix | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'modules/development/git/default.nix') diff --git a/modules/development/git/default.nix b/modules/development/git/default.nix index a62f866..abfbf43 100644 --- a/modules/development/git/default.nix +++ b/modules/development/git/default.nix @@ -30,8 +30,6 @@ description = "Git email."; }; - useSSH = lib.mkEnableOption "Use SSH instead of HTTPS for common git platforms."; - signing = { key = lib.mkOption { type = lib.types.nullOr lib.types.str; @@ -64,14 +62,6 @@ pull.rebase = true; } - (lib.optionalAttrs config.development.git.useSSH { - url."git@github.com:".insteadOf = "https://github.com/"; - url."git@gitlab.com:".insteadOf = "https://gitlab.com/"; - url."git@bitbucket.org:".insteadOf = "https://bitbucket.org/"; - url."git@codeberg.org:".insteadOf = "https://codeberg.org/"; - url."git@git.sr.ht:".insteadOf = "https://git.sr.ht/"; - }) - (lib.optionalAttrs config.development.delta.enable { core.pager = "delta"; interactive.diffFilter = "delta --color-only"; -- cgit v1.2.3