1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

docs: fix typo and clarify

This commit is contained in:
Shamrock Lee 2022-02-12 18:11:09 +00:00 committed by Robert Helgesson
parent 7c2ae0bdd2
commit 03b7495183
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -99,6 +99,7 @@ $ nix build --no-link <flake-uri>#homeConfigurations.jdoe.activationPackage
$ "$(nix path-info <flake-uri>#homeConfigurations.jdoe.activationPackage)"/bin/activate
----
+
Substitute `<flake-uri>` with the flake URI of the configuration flake.
If `flake.nix` resides in `~/.config/nixpkgs`,
`<flake-uri>` may be `~/.config/nixpkgs`
as a Git tree or `path:~/.config/nixpkgs` if not.
@ -107,7 +108,7 @@ as a Git tree or `path:~/.config/nixpkgs` if not.
building a flake-based configuration is as simple as
+
[source,console]
$ home-manager switch --flake 'flake-uri#jdoe'
$ home-manager switch --flake '<flake-uri>#jdoe'
+
once home-manager is installed.
+