summaryrefslogtreecommitdiff
path: root/config/networking.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/networking.nix')
-rw-r--r--config/networking.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/networking.nix b/config/networking.nix
index ba49ea9..cb43347 100644
--- a/config/networking.nix
+++ b/config/networking.nix
@@ -19,6 +19,11 @@
};
};
+ security.acme = {
+ acceptTerms = true;
+ email = "quentin@aristote.fr";
+ };
+
services.nginx = {
enable = true;
virtualHosts = {
@@ -30,7 +35,11 @@
'';
};
- "quentin.aristote.fr" = { root = "${pkgs.personal.academic-webpage}"; };
+ "quentin.aristote.fr" = {
+ root = "${pkgs.personal.academic-webpage}";
+ forceSSL = true;
+ enableACME = true;
+ };
};
};