nix-flake-update

Update Nix flake inputs and verify with nix flake check.

Updated Nov 17, 2025
One-click install
npx skills add https://github.com/ci/persops --skill nix-flake-update
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nix-flake-update
Source: https://github.com/ci/persops/tree/main/.codex/skills/nix-flake-update
Command: npx skills add https://github.com/ci/persops --skill nix-flake-update

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update Nix flake inputs in persops to keep flake.lock and inputs synchronized.

Core Features & Use Cases

  • Update flake.lock and inputs across the repository to reflect the latest dependencies.
  • Update AI inputs (codex-cli-nix, claude-code-nix, llm-agents) as requested or on schedule.
  • Run a full nix flake update and verify changes with nix flake check, then commit update-only changes using conventional commits.

Quick Start

Use this skill to refresh Nix flake inputs and verify changes with nix flake check, then commit with a conventional message such as chore(nix): update flake inputs.

Frequently Asked Questions about nix-flake-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update Nix flake inputs and verify the changes?

Update Nix flake inputs by running nix flake update to refresh dependencies, then verify the changes using nix flake check to ensure the flake.lock and inputs remain synchronized.

What is the best way to automate nix flake updates and commit only changed files?

Automate nix flake updates by running a full update and verification process, then commit only update-related files using conventional commit messages such as chore(nix): update flake inputs.

How do I update AI inputs like codex-cli-nix and claude-code-nix in a Nix flake?

Update AI inputs like codex-cli-nix, claude-code-nix, and llm-agents by running the nix flake update process to refresh these specific dependencies and keep the repository synchronized.

Does the nix flake update process run nix flake check automatically?

Yes, the nix flake update process performs a full update and then verifies the changes automatically by running nix flake check before committing the synchronized flake.lock changes.

Why does nix flake check fail after updating flake inputs?

If nix flake check fails after updating flake inputs, it means the updated dependencies are not compatible with the current configuration, so the verification step prevents committing broken changes.

Can I use this to commit nix flake updates without including unrelated repository changes?

Yes, the nix flake update and commit process ensures only update-related files like flake.lock are changed and committed, preventing unrelated repository modifications from being included.