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

22 lines
378 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 ];
services.postgresql.enable = true;
2024-10-02 15:52:04 +02:00
services.nextcloud = {
hostName = host;
2024-11-13 13:34:40 +01:00
package = pkgs.nextcloud30;
2024-10-02 15:52:04 +02:00
settings.default_phone_region = "CH";
};
services.nginx.virtualHosts."${host}" = {
forceSSL = true;
enableACME = true;
kTLS = true;
};
}