modules/dependencies: init + add curl

This commit is contained in:
Gaetan Lepage 2025-04-06 17:17:51 +02:00 committed by nix-infra-bot
parent 33c3f98fdc
commit cfd4b61262
11 changed files with 97 additions and 28 deletions

View file

@ -0,0 +1,23 @@
{
override =
{ pkgs, ... }:
{
dependencies.git = {
enable = true;
package = pkgs.gitMinimal;
};
};
all =
{
lib,
pkgs,
options,
...
}:
{
dependencies = lib.mapAttrs (_: depOption: {
enable = lib.meta.availableOn pkgs.stdenv.hostPlatform depOption.package.default;
}) options.dependencies;
};
}