hosts/hazel: enable https

This commit is contained in:
LavaDesu 2025-04-05 14:17:51 +11:00
parent cc76cdf00d
commit e90ebf6220
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,4 +1,4 @@
{ modules, pkgs, ... }: {
{ config, modules, pkgs, ... }: {
networking.hostName = "hazel";
system.stateVersion = "24.11";
time.timeZone = "Australia/Melbourne";
@ -35,5 +35,11 @@
dbtype = "pgsql";
adminpassFile = "/persist/nextcloud-admin-pass";
};
https = true;
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
}