diff options
author | lassulus <lassulus@lassul.us> | 2021-09-19 16:48:05 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-09-19 16:48:05 +0200 |
commit | a602201eb253ee297f51b605881f42c7b71e4768 (patch) | |
tree | 977de0a80a3e139a5d46708bd96a7706856ab3be /lass/2configs | |
parent | 48421ac4b07a9a3c21ffa932d6cb817ddcbd8e1f (diff) |
l domsen: set nextcloud pw via krebs.secret
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 8 |
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; |