Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

ultimate-nixos终极尼克索斯

Agent Skill

ultimate-nixos 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

329

周安装

14

GitHub Stars

公开资料未说明

下载量

115
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ultimate-nixos(终极尼克索斯)
来源仓库:https://github.com/kaynetik/skills
仓库路径:skills/ultimate-nixos
安装命令:
npx skills add https://github.com/kaynetik/skills --skill ultimate-nixos
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kaynetik/skills --skill ultimate-nixos

简介

用于查找、检索和筛选相关信息。ultimate-nixos 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词或任务场景快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意是否会触发联网或文件读写操作。

SKILL.md

Nix ecosystem (NixOS, nixpkgs, nix-darwin)

Think in layers: Nix language evaluates expressions into derivations, which build into store paths. Everything else -- NixOS, nix-darwin, Home Manager, flakes -- is configuration that produces derivations.

Reference files

TopicFileWhen to read
nix-darwin (macOS)reference/nix-darwin.mdmacOS system config, darwin-rebuild, Homebrew casks, launchd, Home Manager on macOS
Nixpkgs maintainersreference/maintainers.mdPR workflow, OfBorg, merge bot, nixpkgs-review, r-ryantm, staging, backports, review norms
Derivations and packagingreference/derivations.mdstdenv.mkDerivation, pkgs/by-name, fetchers, language builders, meta, cross-compilation
Securityreference/security.mdHardened profile, firewall, AppArmor, systemd sandboxing, secrets (sops-nix, agenix), secure boot
Module system and modularityreference/modularity.mdNixOS/nix-darwin modules, mkOption, overlays, specialArgs, shared modules, anti-patterns
Flakesreference/flakes.mdFlake anatomy, follows, outputs, flake-parts, dev shells, ecosystem tools, Nix vs Lix, release channels
Community and governancereference/community.mdCommunication channels, RFC process, release schedule, documentation hubs, reporting security issues

Read the relevant reference before giving version-specific flags, option names, or configuration snippets. Prefer the user's NixOS/nixpkgs version when answers differ across releases.

Mental model

                    Nix language
                         |
                    evaluates to
                         |
                    derivations
                    /    |    \
               NixOS  nix-darwin  standalone
                |        |           |
            nixos-rebuild  darwin-rebuild  nix build / nix develop
                |        |           |
            /etc/nixos   flake.nix   flake.nix
                \        |          /
                 \       |         /
                  nixpkgs (package set)
                         |
                   Home Manager (user env, any host)
  • Nix (or Lix): the language and package manager. Evaluates .nix files into derivations. Lix is a compatible fork; both are supported by nix-darwin and NixOS.
  • nixpkgs: the package repository (100k+ packages). Provides stdenv, builders, NixOS modules, and library functions.
  • NixOS: a Linux distribution configured entirely through Nix modules. Config lives in /etc/nixos/ or a flake. Applied with nixos-rebuild switch.
  • nix-darwin: the macOS equivalent of NixOS. Manages system settings, services, Homebrew, and launchd through Nix modules. Applied with darwin-rebuild switch.
  • Home Manager: user-level environment management. Works standalone or as a module inside NixOS/nix-darwin. Manages dotfiles, shell config, user services.
  • Flakes: the input/output schema for reproducible Nix projects. Pins dependencies via flake.lock. Still marked experimental in upstream Nix but universally adopted.

Red flags (stop and verify)

  • Guessing attribute names, option names, or builder arguments instead of checking docs or evaluating locally.
  • Pushing untested changes that break nixpkgs evaluation (blocks OfBorg and Hydra for all PRs).
  • Targeting the wrong branch (staging vs master vs release-YY.MM).
  • Using with pkgs; at the top of a file (pollutes scope, hides where names come from).
  • Using rec {} where let... in would suffice (rec introduces subtle evaluation issues).
  • Using <nixpkgs> lookup paths in flake-based setups (breaks reproducibility).
  • Placing overlays inside home.nix when Home Manager runs with useGlobalPkgs = true (overlays are silently ignored; they belong in the host system config).
  • Baking secrets into the Nix store (store paths are world-readable).
  • Assuming nix-darwin modules and NixOS modules are interchangeable (they share patterns but have different option trees).

Principles

Reproducibility

Pin all inputs. Use flake locks or fixed hashes. Avoid mutable state (nix-channel, <nixpkgs>, builtins.fetchTarball without hash). The same config on the same inputs must produce the same system.

Declarative configuration

Describe the desired state, not imperative steps. Prefer NixOS/nix-darwin module options over post-activation scripts. If an option does not exist, write a module rather than a shell script.

Modularity

Split configuration by concern. Each module declares its options and activates conditionally (lib.mkIf cfg.enable). Compose modules through imports and specialArgs. Share modules across NixOS and nix-darwin where the option trees overlap.

Security first

Use the hardened profile as a baseline. Manage secrets with sops-nix or agenix, never plain text in the store. Sandbox services with systemd options. Pin and audit dependencies. See reference/security.md.

Minimal rebuilds

Understand the rebuild cost of changes. Layer cache-friendly operations. Use nixos-rebuild build or darwin-rebuild build to test before switching. For nixpkgs PRs, check rebuild counts before choosing master vs staging.

Quick task map

TaskWhere to look
Package new software for nixpkgsreference/derivations.md
Configure a NixOS systemreference/modularity.md, reference/flakes.md
Configure macOS with nix-darwinreference/nix-darwin.md
Harden a NixOS systemreference/security.md
Review or merge a nixpkgs PRreference/maintainers.md
Set up a flake-based projectreference/flakes.md
Write a NixOS/nix-darwin modulereference/modularity.md
Manage user dotfilesHome Manager docs + reference/modularity.md (overlay scope)
Manage secretsreference/security.md
Find community help or report issuesreference/community.md
Understand release channels and branchesreference/flakes.md, reference/community.md

Workflow: packaging for nixpkgs

  1. Determine the build system (autotools, cmake, cargo, go modules, npm, python setuptools/poetry, etc.).
  2. Choose the right builder (stdenv.mkDerivation, buildRustPackage, buildGoModule, buildNpmPackage, buildPythonPackage).
  3. Place the package in pkgs/by-name/${shard}/${name}/package.nix (RFC 140).
  4. Add yourself to maintainers/maintainer-list.nix if not already there (separate commit).
  5. Fill in meta with description, homepage, license, maintainers, platforms, and mainProgram.
  6. Run nix-build -A <attr> locally; run nixpkgs-review wip to catch dependent breakage.
  7. Open PR against master (or staging if rebuild count > 500).

See reference/derivations.md and reference/maintainers.md.

Workflow: system configuration (NixOS or nix-darwin)

  1. Initialize a flake with nixosConfigurations or darwinConfigurations.
  2. Structure modules by feature (networking, desktop, services, users).
  3. Use specialArgs = {inherit inputs;} to pass flake inputs into modules.
  4. Apply overlays at the system level (nixpkgs.overlays), not inside Home Manager when useGlobalPkgs = true.
  5. Manage secrets with sops-nix or agenix -- never commit plaintext secrets.
  6. Build first (nixos-rebuild build / darwin-rebuild build), then switch.
  7. Pin nixpkgs to a release branch (nixos-25.11) for stability, or nixpkgs-unstable for latest packages.

See reference/flakes.md, reference/modularity.md, and reference/nix-darwin.md.

Workflow: reviewing a nixpkgs PR

  1. Check the target branch (master, staging, release-YY.MM).
  2. Read the diff for correctness, meta completeness, and commit message convention.
  3. Run nixpkgs-review pr <NUMBER> to build affected packages locally.
  4. If OfBorg has not built, trigger with @ofborg build attr1 attr2 (one command per line).
  5. For pkgs/by-name changes by a maintainer: consider @NixOS/nixpkgs-merge-bot merge.
  6. Give maintainers roughly one week before merging changes they have not endorsed.

See reference/maintainers.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.01%
按下载量换算39

Claude

28.44%
按下载量换算33

Cursor

19.95%
按下载量换算23

Gemini CLI

10.03%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/kaynetik/skills --skill ultimate-nixos 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills