diff --git a/docs/nix-flakes.adoc b/docs/nix-flakes.adoc index 98e66bb20..2520e8ef8 100644 --- a/docs/nix-flakes.adoc +++ b/docs/nix-flakes.adoc @@ -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 #homeConfigurations.jdoe.activationPackage -$ "$(nix path-info #homeConfigurations.jdoe.activationPackage)"/activate ----- +$ nix run #homeConfigurations.jdoe.activationPackage + Substitute `` with the flake URI of the configuration flake. If `flake.nix` resides in `~/.config/nixpkgs`,