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
1 changed files with 2 additions and 1 deletions

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.
+