21 lines
374 B
Nix
21 lines
374 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
host = "cloud.qo.is";
|
|
in
|
|
{
|
|
|
|
imports = [ ../../../defaults/nextcloud ];
|
|
|
|
qois.postgresql.enable = true;
|
|
|
|
services.nextcloud = {
|
|
hostName = host;
|
|
package = pkgs.nextcloud29;
|
|
settings.default_phone_region = "CH";
|
|
};
|
|
services.nginx.virtualHosts."${host}" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
kTLS = true;
|
|
};
|
|
}
|