aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/files
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 10:57:41 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-04-26 15:39:16 +0200
commit9d386fe2ee79d5fadea3c29559687bd0df4c8e5b (patch)
treebb09270de816278374b6d66e7c555f995f19e838 /doc/manual/src/command-ref/files
parenta1c996dc7ea32563605c75eae6c209786ac3b9b2 (diff)
add colons to connect listings with descriptions
Diffstat (limited to 'doc/manual/src/command-ref/files')
-rw-r--r--doc/manual/src/command-ref/files/channels.md2
-rw-r--r--doc/manual/src/command-ref/files/default-nix-expression.md4
-rw-r--r--doc/manual/src/command-ref/files/user-profiles.md8
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/manual/src/command-ref/files/channels.md b/doc/manual/src/command-ref/files/channels.md
index 2d1c2c160..88db66165 100644
--- a/doc/manual/src/command-ref/files/channels.md
+++ b/doc/manual/src/command-ref/files/channels.md
@@ -1,6 +1,6 @@
# Channels
-A directory containing symlinks to Nix channels, managed by [`nix-channel`].
+A directory containing symlinks to Nix channels, managed by [`nix-channel`]:
- `$XDG_STATE_HOME/nix/profiles/channels` for regular users
- `$NIX_STATE_DIR/profiles/per-user/root/channels` for `root`
diff --git a/doc/manual/src/command-ref/files/default-nix-expression.md b/doc/manual/src/command-ref/files/default-nix-expression.md
index 54b1101ed..daf21e56f 100644
--- a/doc/manual/src/command-ref/files/default-nix-expression.md
+++ b/doc/manual/src/command-ref/files/default-nix-expression.md
@@ -1,6 +1,6 @@
# Default Nix expression
-The source for the default [Nix expressions](@docroot@/language/index.md) used by [`nix-env`].
+The source for the default [Nix expressions](@docroot@/language/index.md) used by [`nix-env`]:
- `~/.nix-defexpr`
- `$XDG_STATE_HOME/nix/defexpr` if [`use-xdg-base-directories`] is set to `true`.
@@ -35,7 +35,7 @@ This makes all subscribed channels available as attributes in the default expres
## User channel link
-A symlink that ensures that [`nix-env`] can find your channels.
+A symlink that ensures that [`nix-env`] can find your channels:
- `~/.nix-defexpr/channels`
- `$XDG_STATE_HOME/defexpr/channels` if [`use-xdg-base-directories`] is set to `true`.
diff --git a/doc/manual/src/command-ref/files/user-profiles.md b/doc/manual/src/command-ref/files/user-profiles.md
index c054a7808..034743e7f 100644
--- a/doc/manual/src/command-ref/files/user-profiles.md
+++ b/doc/manual/src/command-ref/files/user-profiles.md
@@ -1,6 +1,6 @@
# User profiles
-A directory that contains links to user profiles managed by [`nix-env`] and [`nix profile`].
+A directory that contains links to user profiles managed by [`nix-env`] and [`nix profile`]:
- `$XDG_STATE_HOME/nix/profiles` for regular users
- `$NIX_STATE_DIR/profiles/per-user/root` if the user is `root`
@@ -84,7 +84,7 @@ It is different between [`nix-env`] and [`nix profile`].
### `manifest.nix`
-Used by [`nix-env`]. This is an example of how this file might look like after installing `hello` from nixpkgs.
+Used by [`nix-env`]. Here is an example of how this file might look like after installing `hello` from Nixpkgs:
```nix
[{
@@ -211,7 +211,7 @@ This is used by Nix for querying and updating the package.
### `manifest.json`
-Used by [`nix profile`]. This is an example of what the file might look like after installing `zoom-us` from nixpkgs:
+Used by [`nix profile`]. Here is an example of what the file might look like after installing `zoom-us` from Nixpkgs:
```json
{
@@ -255,7 +255,7 @@ has the following fields:
## User profile link
-A symbolic link to the user's current profile.
+A symbolic link to the user's current profile:
- `~/.nix-profile`
- `$XDG_STATE_HOME/nix/profile` if [`use-xdg-base-directories`] is set to `true`.