add-app

Automate adding applications to NixOS or Home Manager configurations.

4|Updated Feb 20, 2023
One-click install
npx skills add https://github.com/Hayao0819/dotfiles --skill add-app-hayao0819
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-app
Source: https://github.com/Hayao0819/dotfiles/tree/main/.claude/skills/add-app
Command: npx skills add https://github.com/Hayao0819/dotfiles --skill add-app-hayao0819

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the process of adding a new application to NixOS or Home Manager by handling research, installation layer selection, implementation, and validation.

Core Features & Use Cases

  • Research packages across NixOS and Home Manager to determine availability and module existence.
  • Determine the correct installation layer and target configuration files.
  • Implement configurations and validate with nix flake check.

Quick Start

Provide the application name to begin the installation workflow.

Frequently Asked Questions about add-app

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

FAQPage Schema
How do I add a new package to my NixOS or Home Manager configuration?

To add a new package to NixOS or Home Manager, you need to determine the correct installation layer, generate the appropriate module files, implement the configuration, and validate it using nix flake check.

How do I know if I should install a package system-wide in NixOS or user-specific in Home Manager?

Determining the installation layer for a NixOS or Home Manager package requires researching module existence and availability across system-wide and user-specific contexts to select the correct target configuration files.

Can I automate NixOS package installation and configuration validation?

Yes, automating NixOS package installation streamlines the process by handling research, installation layer selection, implementation, and validation steps including running nix flake check automatically.

What is the best way to validate a new Nix configuration after adding an application?

The best way to validate a new Nix configuration after adding an application is to perform a nix flake check to ensure the generated module files and implementation are correct before applying changes.

Do I need to manually create module files when setting up a new application in Nix?

No, setting up a new application in Nix can automatically generate the appropriate module files for you after determining the correct installation layer and researching package availability across NixOS and Home Manager.