always include gitMinimal

the condition was actually the wrong way around and we still need git in
nix for some operations.
This commit is contained in:
Jörg Thalheim
2024-11-26 12:57:31 +01:00
committed by Mic92
parent f3131afe14
commit b732855b04

View File

@@ -1,12 +1,9 @@
{
pkgs,
lib,
config,
...
}:
{
environment.systemPackages =
[
environment.systemPackages = [
# essential debugging tools for networked services
pkgs.dnsutils
pkgs.tcpdump
@@ -15,9 +12,7 @@
pkgs.htop
pkgs.nixos-facter # for `clan machines update-hardware-config --backend nixos-facter`
]
++ lib.optional (lib.versionAtLeast config.nix.package.version "2.24")
# needed to deploy via `clan machines update` if the flake has a git input
# newer version of nix do have `libgit2`
pkgs.gitMinimal;
pkgs.gitMinimal
];
}