docs: remove $ prompts to make it easier to copy paste

This commit is contained in:
Arash Outadi 2021-10-09 13:44:17 -07:00 committed by Robert Helgesson
parent 223a4a17a4
commit 13e00b70a4
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 15 additions and 15 deletions

View File

@ -70,16 +70,16 @@ Currently the easiest way to install Home Manager is as follows:
2. Add the appropriate Home Manager channel. If you are following 2. Add the appropriate Home Manager channel. If you are following
Nixpkgs master or an unstable channel you can run Nixpkgs master or an unstable channel you can run
```console ```shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
$ nix-channel --update nix-channel --update
``` ```
and if you follow a Nixpkgs version 21.05 channel you can run and if you follow a Nixpkgs version 21.05 channel you can run
```console ```shell
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager
$ nix-channel --update nix-channel --update
``` ```
On NixOS you may need to log out and back in for the channel to On NixOS you may need to log out and back in for the channel to
@ -93,8 +93,8 @@ Currently the easiest way to install Home Manager is as follows:
3. Install Home Manager and create the first Home Manager generation: 3. Install Home Manager and create the first Home Manager generation:
```console ```shell
$ nix-shell '<home-manager>' -A install nix-shell '<home-manager>' -A install
``` ```
Once finished, Home Manager should be active and available in your Once finished, Home Manager should be active and available in your
@ -103,7 +103,7 @@ Currently the easiest way to install Home Manager is as follows:
3. If you do not plan on having Home Manager manage your shell 3. If you do not plan on having Home Manager manage your shell
configuration then you must source the configuration then you must source the
``` ```shell
$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
``` ```
@ -191,14 +191,14 @@ To satisfy the above setup we should elaborate the
To activate this configuration you can then run To activate this configuration you can then run
```console ```shell
$ home-manager switch home-manager switch
``` ```
or if you are not feeling so lucky, or if you are not feeling so lucky,
```console ```shell
$ home-manager build home-manager build
``` ```
which will create a `result` link to a directory containing an which will create a `result` link to a directory containing an
@ -208,8 +208,8 @@ Documentation of available configuration options, including
descriptions and usage examples, is available in the [Home Manager descriptions and usage examples, is available in the [Home Manager
manual][configuration options] or offline by running manual][configuration options] or offline by running
```console ```shell
$ man home-configuration.nix man home-configuration.nix
``` ```
Rollbacks Rollbacks