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:
@@ -1,23 +1,18 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
environment.systemPackages =
|
environment.systemPackages = [
|
||||||
[
|
# essential debugging tools for networked services
|
||||||
# essential debugging tools for networked services
|
pkgs.dnsutils
|
||||||
pkgs.dnsutils
|
pkgs.tcpdump
|
||||||
pkgs.tcpdump
|
pkgs.curl
|
||||||
pkgs.curl
|
pkgs.jq
|
||||||
pkgs.jq
|
pkgs.htop
|
||||||
pkgs.htop
|
|
||||||
|
|
||||||
pkgs.nixos-facter # for `clan machines update-hardware-config --backend nixos-facter`
|
pkgs.nixos-facter # for `clan machines update-hardware-config --backend nixos-facter`
|
||||||
]
|
|
||||||
++ lib.optional (lib.versionAtLeast config.nix.package.version "2.24")
|
pkgs.gitMinimal
|
||||||
# needed to deploy via `clan machines update` if the flake has a git input
|
];
|
||||||
# newer version of nix do have `libgit2`
|
|
||||||
pkgs.gitMinimal;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user