Files
cheatsheet-tldr/tldr/nh-home
2026-01-17 00:21:25 +00:00

23 lines
644 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# nh home
> Manage and configure per-user environment using Nix.
> Reimplementation of `home-manager`.
> More information: <https://github.com/nix-community/nh#usage>.
- Build and switch to a specified Home Manager flake configuration:
`nh home switch {{path/to/flake}}`
- Update all the flake inputs of the specified Home Manager flake configuration and build it:
`nh home build {{path/to/flake}} {{[-u|--update]}}`
- Load a specified Home Manager flake configuration in Nix REPL (Nix evaluation environment):
`nh home repl {{path/to/flake}}`