Files
ci-images/flake.nix
T

49 lines
1.3 KiB
Nix
Raw Normal View History

2024-04-16 11:56:30 -05:00
{
2025-11-25 22:42:47 -06:00
description = "Standard images that Greg wants to build";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
2024-04-16 11:56:30 -05:00
2025-11-25 22:42:47 -06:00
outputs =
inputs@{
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake { inherit inputs; } {
flake = {
};
systems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
perSystem =
{
pkgs,
system,
...
}:
{
_module.args.pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
packages =
let
inherit (pkgs) callPackage;
name = n: "registry.thehellings.com/greg/ci-images/${n}";
in
{
bitwarden = callPackage ./img/bitwarden.nix { inherit name; };
builder = callPackage ./img/builder.nix { inherit name; };
immich = callPackage ./immg/immich.nix { inherit name; };
sword-container-builder = callPackage ./img/sword-container-builder.nix { inherit name; };
vm-test = callPackage ./img/vm-test.nix { inherit name; };
};
};
};
2024-04-16 11:56:30 -05:00
}