Versioned Nix flake catalog for Hakula's projects. Packages are the upstream derivations, with each project's locked dependencies and toolchain preserved.
Packages use packages.<system>.<name>. Original Home Manager modules use homeModules.<name>.
| Name | aarch64-darwin | aarch64-linux | x86_64-linux | Home Manager |
|---|---|---|---|---|
activity-report |
Yes | Yes | Yes | Yes |
agent-project-move |
Yes | Yes | Yes | Yes |
listenbrainz-scrobbler |
Yes | Darwin | ||
oxide-code |
Yes | Yes | Yes | Yes |
statusline |
Yes | Yes | Yes | Yes |
wakatime-cli |
Yes | Yes | Yes |
lib.skills exposes Plugins' skill sources. overlays.default aliases those packages in the consumer's package set.
Add the input and commit the resulting lock:
# Stable channel (pinned release tag)
inputs.flake-catalog.url = "github:hakulab/flake-catalog/<tag>";
# Unstable channel (floating main)
inputs.flake-catalog.url = "github:hakulab/flake-catalog";Release tags (such as v0.2.0) act as stable pinned snapshots locking a verified set of upstream revisions. Floating main acts as the unstable channel tracking the latest verified updates.
Keep the catalog's project inputs and transitive dependencies unchanged, without consumer follows overrides. Overriding them changes the tested derivations.
Select packages directly:
environment.systemPackages = [
inputs.flake-catalog.packages.${pkgs.stdenv.hostPlatform.system}.wakatime-cli
];Each Home Manager module selects its locked upstream package by default on supported native platforms.
imports = [ inputs.flake-catalog.homeModules.activity-report ];
programs.activity-report.enable = true;To access catalog packages through pkgs, add inputs.flake-catalog.overlays.default to nixpkgs.overlays and select pkgs.activity-report. Install individual skill sources through home.file:
home.file.".agents/skills/review".source = inputs.flake-catalog.lib.skills.review;Input flakes' nixConfig is not inherited. Configure the cache in your root flake:
nixConfig = {
extra-substituters = [ "https://hakula.cachix.org" ];
extra-trusted-public-keys = [
"hakula.cachix.org-1:7zwB3fhMfReHdOjh6DmnaLXgqbPDBcojvN9F+osZw0k="
];
};For NixOS / nix-darwin, put the same settings under nix.settings, following the host's trust policy.
Release tags are cut from main after CI passes. Catalog versions are independent of project versions. Removing or renaming an output or dropping a platform requires a major version. Additions are minor, and compatible corrections and project updates are patch changes unless an integration contract changes.
nix develop
run-hooks
nix flake check --all-systemsSee devkit's shared CI and release procedures.
Copyright (c) 2026 Hakula. Licensed under the MIT License.