mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
docs: simplify flake-specific instructions in the documentation (#3737)
Install home-manager via `nix run` rather than `nix-build` then running the activation script out of the store manually. Co-authored-by: Cédric Barreteau <cbarrete@users.noreply.github.com>
This commit is contained in:
parent
f69816489d
commit
36999b8d19
1 changed files with 1 additions and 4 deletions
|
@ -126,10 +126,7 @@ $ nix flake new ~/.config/nixpkgs -t github:nix-community/home-manager
|
|||
2. Install Home Manager and apply the configuration by
|
||||
+
|
||||
[source,console]
|
||||
----
|
||||
$ nix build --no-link <flake-uri>#homeConfigurations.jdoe.activationPackage
|
||||
$ "$(nix path-info <flake-uri>#homeConfigurations.jdoe.activationPackage)"/activate
|
||||
----
|
||||
$ nix run <flake-uri>#homeConfigurations.jdoe.activationPackage
|
||||
+
|
||||
Substitute `<flake-uri>` with the flake URI of the configuration flake.
|
||||
If `flake.nix` resides in `~/.config/nixpkgs`,
|
||||
|
|
Loading…
Reference in a new issue