about summary refs log tree commit diff
path: root/users/tazjin/nixos/camden
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-26T19·28+0100
committertazjin <mail@tazj.in>2020-06-26T19·33+0000
commit351ed4f044753bc4b1f3dcdc83b96a32f7dcaeeb (patch)
tree3b7040a87c393a399cade516a14a7bff64475747 /users/tazjin/nixos/camden
parenta2cbbedc65c9200fd3c2a6a698366ac431cc153d (diff)
fix(tazjin/homepage): Fix configuration settings after page moves r/1088
My personal pages have moved out of //web, and various changes were
necessary to keep everything working.

Change-Id: I2f81fdd8ba2ce2ce6fea7e329bbdcda6092cc8a6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/604
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/tazjin/nixos/camden')
-rw-r--r--users/tazjin/nixos/camden/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix
index 5b751c0338c1..3d2111356302 100644
--- a/users/tazjin/nixos/camden/default.nix
+++ b/users/tazjin/nixos/camden/default.nix
@@ -321,11 +321,11 @@ in lib.fix(self: {
       serverAliases = [ "camden.tazj.in" ];
       default = true;
       useACMEHost = "tazj.in";
-      root = depot.web.homepage;
+      root = depot.users.tazjin.homepage;
       forceSSL = true;
 
       extraConfig = ''
-        ${depot.web.blog.oldRedirects}
+        ${depot.users.tazjin.blog.oldRedirects}
 
         add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
 
@@ -334,7 +334,7 @@ in lib.fix(self: {
         }
 
         location /blog/ {
-          alias ${depot.web.blog.rendered}/;
+          alias ${depot.users.tazjin.blog.rendered}/;
 
           if ($request_uri ~ ^/(.*)\.html$) {
             return 302 /$1;