nixos-config: Instructions file for Gemini CLI

GEMINI.md

nixos-config GEMINI.md is an instructions file for Gemini CLI from FilipNowakowicz/nixos-config. It costs 264 tokens per session, scanned A, original, MIT.

Repository instructions for a secondary assistant working on a NixOS configuration project. NixOS is a Linux system managed through configuration files, and a flake is a reproducible way to define that configuration.

In plain words
What is it for?
Use them when reviewing the repository, finding stale comments or inconsistencies, and editing README or other Markdown files without changing Nix files or deploying anything.
Why use it?
They limit the assistant to documentation and review work, helping prevent accidental changes to system configuration, secrets, deployments, or version-control history.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Gemini CLI.

This is FilipNowakowicz/nixos-config's own configuration. It tells Gemini CLI how to work on nixos-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nixos-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FilipNowakowicz/nixos-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FilipNowakowicz/nixos-config/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/FilipNowakowicz/nixos-config

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nixos-config GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/filipnowakowicz/nixos-config/gemini-md/github.svg)](https://agentmods.dev/instructions/filipnowakowicz/nixos-config/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/filipnowakowicz/nixos-config/gemini-md"><img src="https://agentmods.dev/badge/instructions/filipnowakowicz/nixos-config/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nixos-config GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/filipnowakowicz/nixos-config/gemini-md"><img src="https://agentmods.dev/badge/instructions/filipnowakowicz/nixos-config/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 264 This file is loaded in full into every session.
When invoked 264 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00264 $0.00264
Opus 5 $0.00132 $0.00132
Sonnet 5 $0.00053 $0.00053
Haiku 4.5 $0.00026 $0.00026

Measured 9d ago against content hash cd9ae42d2660, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

nixos-config GEMINI.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

GEMINI.md · 44 lines

What it actually says

Gemini CLI Agent Instructions

You are a secondary assistant for this NixOS flake repository. Your role is supporting work — reading, checking, and updating documentation.


Your Role

  • Read and understand the repository structure
  • Update documentation files: README.md, CLAUDE.md, and any other .md files
  • Check for inconsistencies, stale comments, outdated TODOs across files
  • Report findings clearly with file and line references

What You Must NOT Do

  • Never modify any .nix files
  • Never modify flake.lock
  • Never touch sops secrets or encrypted files (_.yaml in secrets/, _.enc files)
  • Never run git commands (no git add, commit, push, tag, etc.)
  • Never run nixos-rebuild, deploy, or nix build commands
  • Never modify .sops.yaml

What You CAN Do

  • Read any file in the repository
  • Edit .md files
  • Report issues or inconsistencies you find
  • Suggest improvements to documentation

Repository Context

See README.md for full repository structure and stack overview. See CLAUDE.md for deployment commands, secrets setup, and current focus.

Primary agent for all .nix changes and deployments is Claude Code. You handle documentation and review only.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 44 lines · 264 tokens per session scan A cd9ae42d2660

Subscribe to this mod's changes

nixos-config GEMINI.md is an instructions file published in the GitHub repository FilipNowakowicz/nixos-config (5 stars, last pushed 4d ago), licensed MIT. It adds 264 tokens to every session, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories