nixos-btw

Administer NixOS systems, Nix flakes, and home-manager configurations declaratively.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/iuliandita/skills --skill nixos-btw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nixos-btw
Source: https://github.com/iuliandita/skills/tree/main/skills/nixos-btw
Command: npx skills add https://github.com/iuliandita/skills --skill nixos-btw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the complexity of managing NixOS and Nix environments by providing a structured, declarative approach to system administration, preventing common pitfalls like channel drift and imperative configuration bloat.

Core Features & Use Cases

  • System Administration: Manage configuration.nix, modules, and system rebuilds with atomic rollbacks.
  • Flake & Channel Management: Navigate the differences between flake-based and channel-based workflows safely.
  • Advanced Nix Patterns: Handle overlays, secrets management via sops-nix/agenix, and declarative disk layouts with disko.
  • Use Case: Use this skill to safely transition a server from a channel-based configuration to a reproducible flake-based setup without losing system state or breaking existing services.

Quick Start

Use the nixos-btw skill to analyze my current system state and identify whether I am using channels or flakes.

Frequently Asked Questions about nixos-btw

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

FAQPage Schema
How do I transition a NixOS server from channels to a flake-based configuration?

Transitioning a NixOS server from channels to a flake-based configuration involves adopting a declarative module approach to safely migrate system state. This prevents channel drift and eliminates imperative configuration bloat.

What is the best way to manage NixOS secrets declaratively?

Managing NixOS secrets declaratively is handled through dedicated modules like sops-nix or agenix within the NixOS module system. This ensures sensitive data is securely integrated into reproducible build configurations.

Can I handle declarative disk partitioning with disko in NixOS?

Yes, you can handle declarative disk partitioning with disko in NixOS. This skill supports complex infrastructure tasks including declarative disk layouts, allowing you to define partition schemes reproducibly through the NixOS module system.

How do atomic rollbacks work during a NixOS system rebuild?

Atomic rollbacks during a NixOS system rebuild work by switching system generations declaratively, ensuring the system state remains consistent. If a rebuild fails or breaks services, you can safely revert to the previous stable configuration.

Does home-manager work with Nix flakes for cross-platform environment maintenance?

Yes, home-manager works with Nix flakes for cross-platform Nix environment maintenance. You can administer user-specific configurations declaratively alongside your system modules to ensure reproducible build practices across different platforms.

Why should I use overlays in my Nix flake configuration?

You should use overlays in your Nix flake configuration to customize and override package sets declaratively. This ensures reproducible build practices by managing dependencies systematically within the NixOS module system standards.