From a49d9113f45074c3427d59e4dd97b92d5a373412 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sun, 5 Nov 2023 04:46:34 -0800 Subject: [PATCH] add a bit more explanation to the readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad85985..7141dce 100644 --- a/README.md +++ b/README.md @@ -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,