hosts/hazel: enable https
This commit is contained in:
parent
cc76cdf00d
commit
e90ebf6220
1 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue