1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-02 02:15:23 +02:00
tldr/pages/common/home-manager.md

25 lines
607 B
Markdown
Raw Normal View History

2019-06-06 16:40:53 +02:00
# home-manager
> Manage a per-user environment using Nix, allowing declarative configuration of the user’s home.
> More information: <https://github.com/nix-community/home-manager>.
2019-06-06 16:40:53 +02:00
- Build the configuration defined in `~/.config/nixpkgs/home.nix` without applying it:
2019-06-06 16:40:53 +02:00
`home-manager build`
- Build and apply (switch to) the new configuration:
2019-06-06 16:40:53 +02:00
`home-manager switch`
- Build the configuration for testing without applying it:
`home-manager test`
- Roll back to a previous configuration generation:
`home-manager rollback`
- List all existing configuration generations:
`home-manager generations`