aboutsummaryrefslogtreecommitdiff
path: root/config/nix.org
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-08 03:26:51 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-08 03:26:51 -0800
commitbe4a011bac9b2212d81b572c3bb9b80f8c326ab0 (patch)
tree6608471c48a56ffdc967b6aeb8358e92ee01afe2 /config/nix.org
parent504b765606f02b610d74d259ddf2c85292e1f6c0 (diff)
cleanup
Diffstat (limited to 'config/nix.org')
-rw-r--r--config/nix.org15
1 files changed, 8 insertions, 7 deletions
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/";
+ };
};
};
}