home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 5e68d3a0706a6faea9132ceffb1b1a1a44ca9ed7
parent 6850c9d1f49e68b965b6a3b55c14281d5b79d165
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 20 Feb 2024 13:56:09 +0100

git: clean packages we install a bit

- I don't use most things from gitFull
- I don't use git-annex anymore
- I don't think I need git-extras either

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Msystems/modules/profiles/git.nix | 5++---
Msystems/modules/shell/git.nix | 7+++----
Musers/vincent/core/git.nix | 4++--
3 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/systems/modules/profiles/git.nix b/systems/modules/profiles/git.nix @@ -12,9 +12,8 @@ in }; config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ - gitAndTools.gitFull - gitAndTools.git-annex - gitAndTools.git-extras + git + # gitAndTools.git-extras ]; environment.etc."gitconfig" = rec { text = '' diff --git a/systems/modules/shell/git.nix b/systems/modules/shell/git.nix @@ -11,12 +11,11 @@ in environment = { # Install some packages systemPackages = with pkgs; [ - gitAndTools.gitFull - gitAndTools.git-annex - gitAndTools.git-extras + git + # gitAndTools.git-extras (mkIf config.modules.shell.gnupg.enable gitAndTools.git-crypt) - tig + lazygit ]; # Default gitconfig etc."gitconfig".source = ./git/config; diff --git a/users/vincent/core/git.nix b/users/vincent/core/git.nix @@ -29,7 +29,7 @@ in gist git-lfs git-review - gitAndTools.git-annex + # gitAndTools.git-annex gitAndTools.hub gitAndTools.gh gitAndTools.git-appraise @@ -42,7 +42,7 @@ in ]; programs.git = { enable = true; - package = pkgs.gitAndTools.gitFull; + package = pkgs.git; userName = "Vincent Demeester"; userEmail = "vincent@sbr.pm";