❄️ Dotfiles for our NixOS system configuration.
1{
2 services.tangled-knot = {
3 enable = true;
4 motd = ''
5 🌸 welcome to the tangled knot server 🌸
6
7 hosted by sapphic angels
8 '';
9 server = {
10 hostname = "knot.sappho.systems";
11 owner = "did:plc:ucaezectmpny7l42baeyooxi";
12 };
13 };
14
15 services.caddy.virtualHosts."knot.sappho.systems" = {
16 extraConfig = ''
17 import common
18 import tls_bunny
19 reverse_proxy http://127.0.0.1:5555
20 '';
21 };
22
23 settings.firewall.allowedTCPPorts = [ 22 ];
24}