add a bit more explanation to the readme
This commit is contained in:
parent
40522c8540
commit
a49d9113f4
1 changed files with 5 additions and 1 deletions
|
@ -111,7 +111,8 @@ outputs = inputs@{ self, nixpkgs, ... }: {
|
|||
### Deploy a Nextcloud Instance
|
||||
|
||||
Now, what goes inside this `./machines/myserver.nix` file? Let's say you want to deploy Nextcloud,
|
||||
you would use the [`nextcloud.nix`](./modules/nextcloud.nix) module from this repo as reference and have something like the following.
|
||||
you would use the [`nextcloud.nix`](./modules/nextcloud.nix) module from this repo as reference and
|
||||
have something like the following.
|
||||
|
||||
First, some common configuration:
|
||||
|
||||
|
@ -130,6 +131,9 @@ shb.ssl = {
|
|||
};
|
||||
```
|
||||
|
||||
This will import the NixOS module provided by this repository as well as the `sops-nix` module,
|
||||
needed to store secrets. It then enables SSL support.
|
||||
|
||||
Then, the configuration for Nextcloud which sets up:
|
||||
- the nginx reverse proxy to listen on requests for the `nextcloud.example.com` domain,
|
||||
- backup of the config folder and the data folder,
|
||||
|
|
Loading…
Reference in a new issue