Linux command
nh-home 命令
文本
Copy it and replace filenames, paths, or keywords as needed.
命令示例
Switch home configuration
nh home switch
Build without switching
nh home build
Switch with flake
nh home switch --flake [.#username]
说明
nh home manages home-manager configurations. Friendly wrapper around home-manager with better output and flake support. Part of nh (nix helper) toolkit.
参数
- switch
- Build and activate home configuration.
- build
- Build configuration only.
- --flake _ref_
- Flake reference.
- --dry
- Dry run.
- --ask
- Ask before activation.
FAQ
What is the nh-home command used for?
nh home manages home-manager configurations. Friendly wrapper around home-manager with better output and flake support. Part of nh (nix helper) toolkit.
How do I run a basic nh-home example?
Run `nh home switch` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does switch do in nh-home?
Build and activate home configuration.