mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 10:47:20 +00:00
23 lines
644 B
Plaintext
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}}`
|