colonelpanic8/dotfiles/taffybar-nixos-flake-chain

Claude Code and agent skill by colonelpanic8/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when doing NixOS rebuilds involving taffybar, or when flake.lock updates are needed after changing taffybar ecosystem packages. Also use when debugging stale taffybar versions after `just switch`.

Install

npx vskill@latest install colonelpanic8/dotfiles/taffybar-nixos-flake-chain

SKILL.md

Taffybar NixOS Flake Chain

How the taffybar ecosystem packages are consumed by the NixOS configuration through a chain of nested flakes, and what flake.lock updates may be needed when something changes.

See also: taffybar-ecosystem-release for the package dependency graph, release workflow, and Hackage publishing.

The Flake Chain

The NixOS system build pulls in taffybar through the personal imalison-taffybar config flake. The top-level NixOS flake should not declare or override a direct taffybar input; the config flake owns its taffybar version.

nixos/flake.nix (top - `just switch` reads this)
│ └── imalison-taffybar path:../dotfiles/config/taffybar
│
dotfiles/config/taffybar/flake.nix (middle - imalison-taffybar config)
│ ├── taffybar path:.../taffybar/taffybar
│ └── gtk-sni-tray, gtk-strut, etc. (GitHub inputs)
│
dotfiles/config/taffybar/taffybar/flake.nix (bottom - taffybar library)
│ └── gtk-sni-tray, gtk-strut, etc. (flake = false GitHub inputs)

The NixOS layer may make imalison-taffybar follow shared inputs such as nixpkgs, flake-utils, and xmonad, but it should not set imalison-taffybar.inputs.taffybar.follows.

Why Bottom-Up Updates Matter

path: inputs snapshot the target flake including its flake.lock at lock time. If you only run nix flake update at the top (nixos) layer, the middle and bottom layers keep whatever was previously locked in their own flake.lock files.

So when propagating a change to a system rebuild, you generally need to update flake.lock files from the bottom up — the bottom layer first so the middle layer picks up fresh locks when it re-resolves, then the middle so the top picks up fresh locks.

bash
# Bottom (if an ecosystem dep changed):
cd ~/.config/taffybar/taffybar && nix flake update <pkg>
# Middle:
cd ~/.config/taffybar && nix flake update <pkg> taffybar
# Top:
cd /srv/dotfiles/nixos && nix flake update imalison-taffybar

Not every change requires touching all three layers. Think about which flake.lock files actually contain stale references:

  • Changed taffybar itself — it's owned by the config flake, so start at the middle (nix flake update taffybar) then update imalison-taffybar at the top.
  • Changed a leaf ecosystem package (e.g. gtk-strut) — start at the bottom since taffybar's flake.lock references it, then cascade up.
  • The nixos flake can still have unrelated direct inputs such as kanshi-sni. Do not add a top-level taffybar input just to control the config flake's taffybar source.

Rebuilding

bash
cd /srv/dotfiles/nixos && just switch

If taffybar seems stale after a rebuild, check whether the flake.lock at each layer actually points at the expected revision — a missed cascade step is the usual cause.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
220
Repository forks
21
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/colonelpanic8/dotfiles/taffybar-nixos-flake-chain/badge)](https://verified-skill.com/skills/colonelpanic8/dotfiles/taffybar-nixos-flake-chain)

Something wrong with this skill or its page? Tell us.