docs: fix typo and clarify

main
Shamrock Lee 2 years ago committed by Robert Helgesson
parent 7c2ae0bdd2
commit 03b7495183
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
  1. 3
      docs/nix-flakes.adoc

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

Loading…
Cancel
Save