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,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages =
|
||||
[
|
||||
# essential debugging tools for networked services
|
||||
pkgs.dnsutils
|
||||
pkgs.tcpdump
|
||||
pkgs.curl
|
||||
pkgs.jq
|
||||
pkgs.htop
|
||||
environment.systemPackages = [
|
||||
# essential debugging tools for networked services
|
||||
pkgs.dnsutils
|
||||
pkgs.tcpdump
|
||||
pkgs.curl
|
||||
pkgs.jq
|
||||
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.nixos-facter # for `clan machines update-hardware-config --backend nixos-facter`
|
||||
|
||||
pkgs.gitMinimal
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user