From 3e7d4217980562cf5394a99475c41ae7a40e89e9 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sat, 5 Aug 2023 18:22:28 +0200 Subject: [PATCH] Activate https for cloud server --- nixos-configurations/server/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos-configurations/server/default.nix b/nixos-configurations/server/default.nix index 8025fdb..78b5da2 100644 --- a/nixos-configurations/server/default.nix +++ b/nixos-configurations/server/default.nix @@ -1,4 +1,4 @@ -{ inputs, pkgs, ... }: +{ inputs, pkgs, config, ... }: { imports = [ @@ -48,6 +48,10 @@ forceSSL = true; root = inputs.aurora-blog-template.packages.${pkgs.system}.default; }; + "cloud.thilohohlt.com" = { + enableACME = true; + forceSSL = true; + }; }; }; nextcloud = { @@ -59,6 +63,7 @@ dbtype = "pgsql"; adminpassFile = "/var/run/nextcloud-pass.txt"; }; + https = true; }; };