about summary refs log tree commit diff
path: root/modules/git
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git')
-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