summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-21 18:24:49 +0100
committerRory& <root@rory.gay>2025-02-21 18:24:49 +0100
commit01e94df4803ab748e0158fd392424305d2d67885 (patch)
tree6e65e286c11df3f7d0c63a92de645545f0576c0d
parentHSE localhost (diff)
downloadRory-Open-Architecture-01e94df4803ab748e0158fd392424305d2d67885.tar.xz
Add HSE domain on laptop
-rw-r--r--flake.lock18
-rwxr-xr-xhost/Rory-laptop/nginx/hse.localhost.nix30
2 files changed, 24 insertions, 24 deletions
diff --git a/flake.lock b/flake.lock

index 491a371..97c3680 100644 --- a/flake.lock +++ b/flake.lock
@@ -663,11 +663,11 @@ }, "nixpkgs-RoryNix": { "locked": { - "lastModified": 1740000234, - "narHash": "sha256-8Why5co2fPdQqWPPQm/gw/7sKz422EhuCuClqJAwYck=", + "lastModified": 1739873227, + "narHash": "sha256-ONWhtUuO9J3YlKbVNWMOUtNRjH1ESurAAH3m2tMTy7s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a2e485e7c40448382a4f87ecb2c5aab5593cc782", + "rev": "c85bcd2e252a709ec00ca9668fb5828426688754", "type": "github" }, "original": { @@ -695,11 +695,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1740000234, - "narHash": "sha256-8Why5co2fPdQqWPPQm/gw/7sKz422EhuCuClqJAwYck=", + "lastModified": 1739873227, + "narHash": "sha256-ONWhtUuO9J3YlKbVNWMOUtNRjH1ESurAAH3m2tMTy7s=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a2e485e7c40448382a4f87ecb2c5aab5593cc782", + "rev": "c85bcd2e252a709ec00ca9668fb5828426688754", "type": "github" }, "original": { @@ -871,11 +871,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1739866667, - "narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=", + "lastModified": 1739736696, + "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680", + "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f", "type": "github" }, "original": { diff --git a/host/Rory-laptop/nginx/hse.localhost.nix b/host/Rory-laptop/nginx/hse.localhost.nix
index b3b148f..5812b02 100755 --- a/host/Rory-laptop/nginx/hse.localhost.nix +++ b/host/Rory-laptop/nginx/hse.localhost.nix
@@ -27,21 +27,21 @@ ''; }; - locations."= /.well-known/matrix/server".extraConfig = '' - more_set_headers 'Content-Type application/json'; - more_set_headers 'Access-Control-Allow-Origin *'; - return 200 '${builtins.toJSON { "m.server" = "hse.localhost:5298"; }}'; - ''; - locations."= /.well-known/matrix/client".extraConfig = '' - more_set_headers 'Content-Type application/json'; - more_set_headers 'Access-Control-Allow-Origin *'; - return 200 '${ - builtins.toJSON { - "m.homeserver".base_url = "http://hse.localhost:5298"; - "org.matrix.msc3575.proxy".url = "https://matrix.rory.gay"; - } - }'; - ''; +# locations."= /.well-known/matrix/server".extraConfig = '' +# more_set_headers 'Content-Type application/json'; +# more_set_headers 'Access-Control-Allow-Origin *'; +# return 200 '${builtins.toJSON { "m.server" = "hse.localhost:5298"; }}'; +# ''; +# locations."= /.well-known/matrix/client".extraConfig = '' +# more_set_headers 'Content-Type application/json'; +# more_set_headers 'Access-Control-Allow-Origin *'; +# return 200 '${ +# builtins.toJSON { +# "m.homeserver".base_url = "http://hse.localhost:5298"; +# "org.matrix.msc3575.proxy".url = "https://matrix.rory.gay"; +# } +# }'; +# ''; locations."= /.well-known/matrix/support".extraConfig = '' more_set_headers 'Content-Type application/json'; more_set_headers 'Access-Control-Allow-Origin *';