sops-nixsopsnixoshomemanager
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sops-nixsopsnixoshomemanager" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-86b150cc85551266407d0e2d13cc83a3e0c6d55cc18b5ceede3476c59a80a400. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/inject-sops-managed-secrets-into-nixos-and-home-manager-configs-with-sops-nix before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Automatically materialize SOPS keys based on age or PGP encryption in declarative NixOS and Home Manager systems during activation, without manually copying values.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- NixOS or Home Manager configuration, sops-nix module, SOPS-encrypted secret files, age or PGP keys, Nix build and activation access
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 sops-nix 将 SOPS 管理的密钥注入到 NixOS 和 Home Manager 配置中"
slug: "inject-sops-managed-secrets-into-nixos-and-home-manager-configs-with-sops-nix"
version: "1.0.0"
displayName: "使用 sops-nix 将 SOPS 管理的密钥注入到 NixOS 和 Home Manager 配置中"
summary: "在激活期间,在声明式的 NixOS 和 Home Manager 系统中材料化年龄或 PGP 加密的 SOPS 密钥,而无需手动复制值。
```"
license: "MIT"
description: "在激活期间,在声明式的 NixOS 和 Home Manager 系统中材料化年龄或 PGP 加密的 SOPS 密钥,而无需手动复制值。
```"
github_stars: 2771
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 2771使用 sops-nix 将 SOPS 管理的密钥注入到 NixOS 和 Home Manager 配置中
Materialize age or PGP encrypted SOPS secrets inside declarative NixOS and Home Manager systems during activation without hand-copying values.
Prerequisites
NixOS or Home Manager configuration, sops-nix module, SOPS-encrypted secret files, age or PGP keys, Nix build and activation access
Installation
Requirements and caveats from upstream:
- This will otherwise cause sops to require multiple keys (shamir secret sharing)
- The easiest way to add new machines is by using SSH host keys (this requires OpenSSH to be enabled).
- The home-manager module requires systemd/user as it runs a service called sops-nix.service rather than an activation script.
Basic usage or getting-started notes:
- There is a configuration.nix example in the deployment step of our usage example.
- If you prefer video over the textual description below, you can also checkout this 6min tutorial by [@vimjoyer](https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/Mic92/sops-nix/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决 NixOS/Home Manager 声明式配置中 SOPS 密钥自动材料化的实际痛点
- 适用于使用 Nix 生态的用户群体,具有明确实用价值
Highlights
- description 内容完整且位于正确位置,触发描述清晰准确
Areas to improve
-
缺少 When to Use 章节 Reported severity: Minor
文档中未明确设置 When to Use 章节来说明适用场景
Recommendation: 建议添加 When to Use 章节,明确说明该 Skill 的最佳使用时机和场景
-
缺少端到端示例 Reported severity: Minor
仅提及存在 configuration.nix 示例,但未在文档中展示完整端到端示例
Recommendation: 建议在文档中直接展示一个完整的端到端配置示例,帮助用户快速上手
Highlights
- 文档结构基本完整,包含 Prerequisites、Installation、Documentation 等必要章节
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未详细说明主要异常情况的处理方式和错误恢复机制
Recommendation: 建议补充常见异常的处理说明,如密钥文件缺失、权限错误等场景的应对方案
Highlights
- 工具来源明确,依赖项说明较完整,基础可靠性良好
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 2, 5, 6, 9, 23
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
- www.youtube.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
NixOS or Home Manager configuration, sops-nix module, SOPS-encrypted secret files, age or PGP keys, Nix build and activation access
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.