infrastructure/nixos-configurations/lindberg-nextcloud/applications/cloud.nix

22 lines
374 B
Nix
Raw Normal View History

2024-10-02 15:52:04 +02:00
{ 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;
};
}