images/flake.nix
iofq 4e6f038898
Some checks failed
/ check (push) Failing after 1m11s
init
2025-09-27 16:57:38 -05:00

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