summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-02-27 08:54:49 +0100
committerRory& <root@rory.gay>2026-02-27 08:54:49 +0100
commit6cf34e7a2f76502e0261f3c303518a1a261dfccb (patch)
tree68dcfe6721800e37b16402d907b997e44cf73cbc
parentHopefully get nix routing right (diff)
downloadserver-ts-6cf34e7a2f76502e0261f3c303518a1a261dfccb.tar.xz
nix: add AF_NETLINK
-rw-r--r--nix/modules/default/makeServerTsService.nix1
-rw-r--r--nix/testVm/configuration.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/nix/modules/default/makeServerTsService.nix b/nix/modules/default/makeServerTsService.nix

index 4f7a1335..ae54e3f7 100644 --- a/nix/modules/default/makeServerTsService.nix +++ b/nix/modules/default/makeServerTsService.nix
@@ -34,6 +34,7 @@ lib.recursiveUpdate "AF_INET" "AF_INET6" "AF_UNIX" + "AF_NETLINK" ]; RestrictNamespaces = true; RestrictRealtime = true; diff --git a/nix/testVm/configuration.nix b/nix/testVm/configuration.nix
index 8d467b3f..db31cbe7 100644 --- a/nix/testVm/configuration.nix +++ b/nix/testVm/configuration.nix
@@ -15,6 +15,7 @@ in services.nginx.virtualHosts."api.sb.localhost" = nginxTestSigning; services.nginx.virtualHosts."gw.sb.localhost" = nginxTestSigning; services.nginx.virtualHosts."cdn.sb.localhost" = nginxTestSigning; + services.nginx.virtualHosts."webrtc.sb.localhost" = nginxTestSigning; services.nginx.virtualHosts."admin.sb.localhost" = nginxTestSigning; services.spacebarchat-server =