system-packages

Manage NixOS packages by editing configuration.nix and running nixos-rebuild.

113|21|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/bolivian-peru/os-moda --skill system-packages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-packages
Source: https://github.com/bolivian-peru/os-moda/tree/main/skills/system-packages
Command: npx skills add https://github.com/bolivian-peru/os-moda --skill system-packages

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management of software packages on NixOS by leveraging its declarative configuration model, ensuring reproducibility and easy rollbacks.

Core Features & Use Cases

  • Declarative Package Management: Install, remove, and manage packages by editing the configuration.nix file.
  • Atomic Updates & Rollbacks: Benefit from NixOS's ability to atomically update the system and roll back to previous states.
  • Use Case: When you need to install a new development tool like git or a database like postgresql, this skill ensures it's done in a way that integrates seamlessly with your existing NixOS configuration.

Quick Start

Use the system-packages skill to install the 'htop' package.

Frequently Asked Questions about system-packages

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

FAQPage Schema
How do I manage NixOS packages declaratively using configuration files?

To manage NixOS packages declaratively, you modify the `/etc/nixos/configuration.nix` file to specify desired packages and execute `nixos-rebuild` to apply changes. This ensures atomic, reproducible, and auditable system updates.

What is the best way to roll back system state in NixOS after a problematic update?

The best way to roll back system state in NixOS leverages its atomic update mechanism. By managing packages declaratively through `configuration.nix`, you can easily revert to previous system generations and restore prior configurations.

How does declarative package management handle installing and removing software on NixOS?

Declarative package management handles installing and removing software by editing `configuration.nix` rather than running imperative commands. You define the desired system state, and `nixos-rebuild` synchronizes the system to match it exactly.

Can I use this approach to install development tools and databases on NixOS?

Yes, you can use this approach to install development tools and databases like `git` or `postgresql` on NixOS. You add them to your declarative configuration to ensure they integrate seamlessly with your existing system setup.

Why does modifying configuration.nix ensure reproducible system administration?

Modifying `configuration.nix` ensures reproducible system administration because it defines the entire system state declaratively. Running `nixos-rebuild` applies these configurations atomically, eliminating hidden state and making updates fully auditable.