diff --git a/index.html b/index.html index f81a7bc20..f7d6b080c 100644 --- a/index.html +++ b/index.html @@ -330,8 +330,7 @@ The Home Manager library is exported by the flake under You can use the above flake.nix as a template in ~/.config/nixpkgs by
$ nix flake new ~/.config/nixpkgs -t github:nix-community/home-manager
  • Install Home Manager and apply the configuration by -

    $ nix build --no-link <flake-uri>#homeConfigurations.jdoe.activationPackage
    -$ "$(nix path-info <flake-uri>#homeConfigurations.jdoe.activationPackage)"/activate

    Substitute <flake-uri> with the flake URI of the configuration flake. +

    $ 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, <flake-uri> may be ~/.config/nixpkgs as a Git tree or path:~/.config/nixpkgs if not.