images/flake.nix
iofq abba8eceaa
All checks were successful
/ check (push) Successful in 5m23s
init
2026-01-12 00:02:59 -06:00

46 lines
981 B
Nix

{
description = "git.10110110.xyz forgejo actions";
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0";
};
outputs =
{ self, ... }@inputs:
let
supportedSystems = [
"x86_64-linux" # 64-bit Intel/AMD Linux
];
forEachSupportedSystem =
f:
inputs.nixpkgs.lib.genAttrs supportedSystems (
system:
f {
pkgs = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
}
);
in
{
packages = forEachSupportedSystem (
{ pkgs }:
{
nix-with-node = (import ./pkgs/nix-with-node { inherit pkgs; });
}
);
devShells = forEachSupportedSystem (
{ pkgs }:
{
default = pkgs.mkShell {
packages = with pkgs; [
skopeo
nodejs
curl
];
};
}
);
};
}