about summary refs log tree commit diff
path: root/modules/git
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-07-10 14:02:06 +0300
committerAzat Bahawi <azat@bahawi.net>2024-07-10 14:02:06 +0300
commita88092202ccfdb981c6aef3270bdef20e7530f5f (patch)
treef6f2f82e7575aeead163bcf0c93bab494e7e70ce /modules/git
parent2024-06-29 (diff)
2024-07-10
Diffstat (limited to '')
-rw-r--r--modules/git/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/git/default.nix b/modules/git/default.nix
index ad322ca..b32b5bc 100644
--- a/modules/git/default.nix
+++ b/modules/git/default.nix
@@ -5,6 +5,7 @@
   libNginx,
   libPlausible,
   pkgs,
+  this,
   ...
 }:
 with lib;
@@ -70,13 +71,7 @@ in
           git = {
             enable = true;
 
-            package = pkgs.git.override {
-              doInstallCheck = false;
-              pythonSupport = false;
-              sendEmailSupport = true;
-              withLibsecret = false;
-              withSsh = true;
-            };
+            package = if this.isHeadful then pkgs.gitFull else pkgs.gitMinimal;
 
             userName = my.fullname;
             userEmail = my.email;

Consider giving Nix/NixOS a try! <3