From 34ff469b6da4d19ef4df1c9e92721550091a88e0 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 1 Feb 2021 11:44:21 +0100 Subject: [PATCH] services: add nextcloud The password is quoted using `"` instead of `'` in the setup script, beware of `$` characters... --- configuration.nix | 5 +++ secrets/nextcloud/password.txt | Bin 0 -> 55 bytes services/default.nix | 1 + services/nextcloud.nix | 68 +++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 secrets/nextcloud/password.txt create mode 100644 services/nextcloud.nix diff --git a/configuration.nix b/configuration.nix index 8678af8..a56861f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -81,6 +81,11 @@ enable = true; secret = lib.fileContents ./secrets/matrix/secret.txt; }; + # Nextcloud self-hosted cloud + nextcloud = { + enable = true; + password = lib.fileContents ./secrets/nextcloud/password.txt; + }; # The whole *arr software suite pirate.enable = true; # Usenet client diff --git a/secrets/nextcloud/password.txt b/secrets/nextcloud/password.txt new file mode 100644 index 0000000000000000000000000000000000000000..c2e458cbdcb1820d0a23c29f73e63a6a408d96cf GIT binary patch literal 55 zcmV-70LcFUM@dveQdv+`0CAW%BE?+fP2mj)q>W{1yCA4DDjxeGfu-N%JVwsIwMbZk N