init
Some checks failed
/ check (push) Failing after 1m14s

This commit is contained in:
iofq 2025-09-27 14:44:02 -05:00
commit c88460fecf
7 changed files with 100 additions and 0 deletions

45
flake.nix Normal file
View file

@ -0,0 +1,45 @@
{
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.nix { inherit pkgs; });
}
);
devShells = forEachSupportedSystem (
{ pkgs }:
{
default = pkgs.mkShell {
packages = with pkgs; [
skopeo
nodejs
];
};
}
);
};
}