From be4a011bac9b2212d81b572c3bb9b80f8c326ab0 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 8 Feb 2025 03:26:51 -0800 Subject: cleanup --- config/nix.org | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'config/nix.org') diff --git a/config/nix.org b/config/nix.org index 6ac9619..52e1e5f 100644 --- a/config/nix.org +++ b/config/nix.org @@ -113,7 +113,8 @@ creation_rules: also note that you will have to write your own secrets.yaml file, with an entry called ~mail~, which is used for the imaps and smtps password. * Nix Topology -Nix Topology generates a nice graph of all my hosts. +Nix Topology generates a nice graph of all my hosts. You can view this +graph by running ~nix build .#topology.x86_64-linux.config.output~. #+begin_src nix :tangle ../nix/topology/default.nix { config, ... }: let @@ -488,7 +489,7 @@ Use postfix as an smtps server. # Add HSTS header with preloading to HTTPS requests. # Adding this header to HTTP requests is discouraged map $scheme $hsts_header { - https "max-age=31536000; includeSubdomains; preload"; + https "max-age=31536000; includeSubdomains; preload"; } add_header Strict-Transport-Security $hsts_header; @@ -509,11 +510,11 @@ Use postfix as an smtps server. ''; virtualHosts = { - "ret2pop.net" = { - # addSSL = true; - # enableACME = true; - root = "/home/preston/ret2pop-website/"; - }; + "ret2pop.nullring.xyz" = { + # addSSL = true; + # enableACME = true; + root = "/home/preston/ret2pop-website/"; + }; }; }; } -- cgit