### Configure Nixpkgs Input with FlakeHub Source: https://flakehub.com Replace standard Nixpkgs inputs with a FlakeHub URL to leverage versioned, reliable Nixpkgs releases. ```nix { inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*"; outputs = { self, nixpkgs }: { # Flake outputs }; } ``` -------------------------------- ### Publish a Flake with GitHub Actions Source: https://flakehub.com Use this workflow configuration to automate the publishing of private flakes to FlakeHub upon pushing a version tag. ```yaml on: push: tags: - "v*.*.*" jobs: flakehub-publish: runs-on: ubuntu-latest permissions: id-token: write contents: read steps: - uses: actions/checkout@v6 - uses: DeterminateSystems/determinate-nix-action@v3 - uses: DeterminateSystems/flakehub-push@main with: visibility: private ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.