Skip to content

Commit

Permalink
doc: collapse installation sections
Browse files Browse the repository at this point in the history
as suggested in #133
  • Loading branch information
ryantm committed Jan 29, 2023
1 parent 6d3a415 commit 184745c
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,10 @@
* [Problem and solution](#problem-and-solution)
* [Features](#features)
* [Installation](#installation)
* [niv](#install-via-niv) (Current recommendation)
* [module](#install-module-via-niv)
* [CLI](#install-cli-via-niv)
* [niv](#install-via-niv)
* [nix-channel](#install-via-nix-channel)
* [module](#install-module-via-nix-channel)
* [CLI](#install-cli-via-nix-channel)
* [fetchTarball](#install-via-fetchtarball)
* [module](#install-module-via-fetchtarball)
* [CLI](#install-cli-via-fetchTarball)
* [flakes](#install-via-flakes)
* [module](#install-module-via-flakes)
* [CLI](#install-cli-via-flakes)
* [Tutorial](#tutorial)
* [Reference](#reference)
* [`age` module reference](#age-module-reference)
Expand Down Expand Up @@ -56,8 +48,13 @@ Choose one of the following methods:
* [fetchTarball](#install-via-fetchTarball)
* [flakes](#install-via-flakes)

<details>
<summary>

### Install via [niv](https://github.com/nmattia/niv)

</summary>

First add it to niv:

```ShellSession
Expand All @@ -84,8 +81,15 @@ To install the `agenix` binary:
}
```

</details>

<details>
<summary>

### Install via nix-channel

</summary>

As root run:

```ShellSession
Expand Down Expand Up @@ -113,8 +117,15 @@ To install the `agenix` binary:
}
```

</details>

<details>
<summary>

### Install via fetchTarball

</summary>

#### Install module via fetchTarball

Add the following to your configuration.nix:
Expand Down Expand Up @@ -152,8 +163,15 @@ To install the `agenix` binary:
}
```

</details>

<details>
<summary>

### Install via Flakes

</summary>

#### Install module via Flakes

```nix
Expand Down Expand Up @@ -192,6 +210,8 @@ but, if you want to (change the system based on your system):
}
```

</details>

## Tutorial

1. The system you want to deploy secrets to should already exist and
Expand Down

0 comments on commit 184745c

Please sign in to comment.