users

Manage Home-Manager users and NixOS settings across multiple hosts.

18|1|Updated Jun 2, 2023
One-click install
npx skills add https://github.com/DaRacci/nix-config --skill users
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: users
Source: https://github.com/DaRacci/nix-config/tree/main/.opencode/skills/users
Command: npx skills add https://github.com/DaRacci/nix-config --skill users

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of adding, configuring, and managing user accounts and their associated Home-Manager configurations across multiple hosts.

Core Features & Use Cases

  • User Creation: Easily set up new user profiles with host-specific and shared configurations.
  • Configuration Management: Define NixOS and Home-Manager settings for users, including secrets and SSH keys.
  • Use Case: When onboarding a new team member, use this Skill to quickly provision their development environment across their workstation and a remote server, ensuring consistent settings and access.

Quick Start

Create a new user named 'developer' with configurations for the 'workstation' and 'server' hosts.

Frequently Asked Questions about users

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

FAQPage Schema
How do I manage Home-Manager users across multiple NixOS hosts?

To manage Home-Manager users across multiple NixOS hosts, you define user-specific Nix files for each host and apply shared Home-Manager configurations. This ensures consistent environment setup and user provisioning across all machines.

What is the best way to configure Home-Manager settings for a new team member?

The best way to configure Home-Manager settings for new users is by provisioning their development environment across workstations and remote servers. You apply shared configurations alongside host-specific NixOS settings to ensure consistent access.

Can I define shared NixOS configurations for multiple users?

Yes, you can define shared NixOS configurations for multiple users. This Skill supports creating user profiles that combine shared Home-Manager settings with host-specific Nix files to ensure comprehensive environment setup.

Does Home-Manager user provisioning support adding SSH keys and secrets?

Home-Manager user provisioning supports adding SSH keys and secrets. The configuration management capabilities allow you to define NixOS and Home-Manager settings that include these credentials for secure user access across hosts.

Do I need separate Nix files for each host when adding a Home-Manager user?

Yes, you need separate user-specific Nix files for each host. This Skill requires defining these files to properly handle multi-host user provisioning and manage the distinct environment configurations needed across different machines.

Why use Home-Manager for multi-host user provisioning instead of manual NixOS configuration?

Using Home-Manager for multi-host user provisioning simplifies adding and configuring user accounts across multiple hosts, avoiding manual NixOS configuration errors. It ensures consistent settings and access for development teams during onboarding.