Compare commits

..

2 commits

Author SHA1 Message Date
4818be44d3
feat(tanzanite): nginx config for matrix 2024-12-21 22:24:51 -08:00
97886fa0f0
fix(tanzanite): use correct docker dir 2024-12-21 22:24:12 -08:00

View file

@ -14,7 +14,7 @@ in {
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
daemon.settings = { daemon.settings = {
data-root = "/opt/data"; data-root = "/opt/data/docker-data";
}; };
}; };
@ -44,6 +44,13 @@ in {
proxyPass = "http://127.0.0.1:3333"; 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 ]; allowedTCPPorts = [ 22 80 222 443 ];
}; };
# Boot Config
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];