home-manager

Configure and manage Home Manager on NixOS for declarative user environments.

21|Updated Jan 5, 2024
One-click install
npx skills add https://github.com/olafkfreund/nixos_config --skill home-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: home-manager
Source: https://github.com/olafkfreund/nixos_config/tree/main/.gemini/skills/home-manager
Command: npx skills add https://github.com/olafkfreund/nixos_config --skill home-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for configuring and managing Home Manager on NixOS, including user environments, dotfiles, and declarative setup.

Core Features & Use Cases

  • Declarative user environment management with Home Manager.
  • Module creation and reuse across hosts; per-user services and dotfiles.
  • Migration guidance from imperative config to declarative Home Manager configurations.
  • Use Case: configure a new developer workstation with a consistent user environment across hosts.

Quick Start

Use the home-manager skill to bootstrap a sample user configuration on a NixOS system.

Frequently Asked Questions about home-manager

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

FAQPage Schema
How do I manage dotfiles declaratively on NixOS?

You can manage dotfiles declaratively on NixOS by using Home Manager to define user environments and per-user services in configuration files, ensuring consistent setups across multiple hosts.

What is the best way to migrate imperative user configurations to a declarative NixOS setup?

The best way to migrate imperative configurations to a declarative NixOS setup is using Home Manager, which provides guidance for transitioning existing user environments and dotfiles into reproducible module definitions.

Can I use Home Manager with a standalone NixOS flakes installation?

Yes, Home Manager works with both NixOS flakes and standalone installations, allowing you to bootstrap and manage user configurations, dotfiles, and per-user services across development workstations and servers.

How do I create reusable modules for user environments across multiple hosts?

You create reusable modules by defining user environments and per-user services in Home Manager, enabling consistent dotfiles and configurations to be shared across development workstations, servers, and shared user profiles.

Does Home Manager support configuring per-user services on shared profiles?

Yes, Home Manager supports configuring per-user services and dotfiles for shared user profiles, allowing multiple users on the same system to maintain isolated, declaratively managed environments.

Why should I use declarative configuration management for developer workstations?

Declarative configuration management ensures developer workstations maintain identical user environments and dotfiles across hosts, eliminating configuration drift and simplifying multi-host setup through reproducible modules.