aboutsummaryrefslogtreecommitdiffstats
path: root/modules/development/git/assertions.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 17:37:43 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-09-02 17:37:43 +0530
commitf4752f0cf338b89084cbf917b2de88113aeac9f7 (patch)
tree78a7ad7917c97cd13c099437f1abfbfffa00c646 /modules/development/git/assertions.nix
parent627c1f723302f949e28d9df5a3acb380186b4c44 (diff)
downloadhome-manager-config-f4752f0cf338b89084cbf917b2de88113aeac9f7.tar.gz
home-manager-config-f4752f0cf338b89084cbf917b2de88113aeac9f7.zip
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
Diffstat (limited to 'modules/development/git/assertions.nix')
-rw-r--r--modules/development/git/assertions.nix8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/development/git/assertions.nix b/modules/development/git/assertions.nix
index 02acd92..c66714a 100644
--- a/modules/development/git/assertions.nix
+++ b/modules/development/git/assertions.nix
@@ -3,14 +3,6 @@
{
assertions = [
{
- assertion =
- !config.development.git.useSSH || (config.development.git.enable && config.security.ssh.enable);
- message = ''
- development.git.useSSH is enabled but security.ssh.enable is not.
- SSH must be enabled (security.ssh.enable = true) to use SSH for git.
- '';
- }
- {
assertion = !config.development.git.signing.signByDefault || config.development.git.enable;
message = ''
development.git.signing.signByDefault is enabled but development.git.enable is not.