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

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
Nixpkgs master or an unstable channel you can run
```console
$ nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
$ nix-channel --update
```shell
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
```
and if you follow a Nixpkgs version 21.05 channel you can run
```console
$ nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager
$ nix-channel --update
```shell
nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager
nix-channel --update
```
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:
```console
$ nix-shell '<home-manager>' -A install
```shell
nix-shell '<home-manager>' -A install
```
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
configuration then you must source the
```
```shell
$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
```console
$ home-manager switch
```shell
home-manager switch
```
or if you are not feeling so lucky,
```console
$ home-manager build
```shell
home-manager build
```
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
manual][configuration options] or offline by running
```console
$ man home-configuration.nix
```shell
man home-configuration.nix
```
Rollbacks