diff options
author | lassulus <lassulus@lassul.us> | 2019-01-04 16:35:09 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-01-04 17:16:11 +0100 |
commit | 3090179491a0988190b37b2309db4c0baef1ceed (patch) | |
tree | 174aa7756d18cdd089c5a855228de258ed9d843e /lass/2configs | |
parent | 58886abed9f24c2447e41d37c27e7add023fa621 (diff) |
l: enable o.xanf.org nextcloud
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index 25dac0ac4..223fc73ba 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -88,6 +88,20 @@ in { file_uploads = on ''; + services.nextcloud = { + enable = true; + hostName = "o.xanf.org"; + config = { + adminpassFile = toString <secrets> + "/nextcloud_pw"; + }; + #https = true; + nginx.enable = true; + }; + services.nginx.virtualHosts."o.xanf.org" = { + enableACME = true; + forceSSL = true; + }; + # MAIL STUFF # TODO: make into its own module services.dovecot2 = { |