From 97886fa0f0e5f18326c95a48271f5533fb68e34d Mon Sep 17 00:00:00 2001 From: stitchy Date: Sat, 21 Dec 2024 22:24:12 -0800 Subject: [PATCH 1/2] fix(tanzanite): use correct docker dir --- hosts/tanzanite/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index d30c4e5..9caac34 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -14,7 +14,7 @@ in { virtualisation.docker = { enable = true; daemon.settings = { - data-root = "/opt/data"; + data-root = "/opt/data/docker-data"; }; }; From 4818be44d351382e2696b09d5d2743f87527cf75 Mon Sep 17 00:00:00 2001 From: stitchy Date: Sat, 21 Dec 2024 22:24:51 -0800 Subject: [PATCH 2/2] feat(tanzanite): nginx config for matrix --- hosts/tanzanite/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 9caac34..2ceaf38 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -44,6 +44,13 @@ in { proxyPass = "http://127.0.0.1:3333"; }; }; + "matrix.stitchy.moe" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:9008"; + }; + }; }; }; @@ -51,6 +58,7 @@ in { allowedTCPPorts = [ 22 80 222 443 ]; }; + # Boot Config boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ];