summaryrefslogtreecommitdiffstats
path: root/lass/2configs/websites
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-09-19 16:48:05 +0200
committerlassulus <lassulus@lassul.us>2021-09-19 16:48:05 +0200
commita602201eb253ee297f51b605881f42c7b71e4768 (patch)
tree977de0a80a3e139a5d46708bd96a7706856ab3be /lass/2configs/websites
parent48421ac4b07a9a3c21ffa932d6cb817ddcbd8e1f (diff)
l domsen: set nextcloud pw via krebs.secret
Diffstat (limited to 'lass/2configs/websites')
-rw-r--r--lass/2configs/websites/domsen.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix
index 5da4b0ae2..453ecff8c 100644
--- a/lass/2configs/websites/domsen.nix
+++ b/lass/2configs/websites/domsen.nix
@@ -89,12 +89,18 @@ in {
file_uploads = on
'';
+ krebs.secret.files.nextcloud_pw = {
+ path = "/run/nextcloud.pw";
+ owner.name = "nextcloud";
+ group-name = "nextcloud";
+ source-path = toString <secrets> + "/nextcloud_pw";
+ };
services.nextcloud = {
enable = true;
hostName = "o.xanf.org";
package = pkgs.nextcloud20;
config = {
- adminpassFile = toString <secrets> + "/nextcloud_pw";
+ adminpassFile = "/run/nextcloud.pw";
overwriteProtocol = "https";
};
https = true;