Skip to content

Commit

Permalink
jitsi-meet: Restrict jitsi-excalidraw systemd service to the minimum …
Browse files Browse the repository at this point in the history
…requried
  • Loading branch information
ntninja committed Sep 30, 2024
1 parent 9e8b3f9 commit 7ab8f25
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions nixos/modules/services/web-apps/jitsi-meet.nix
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,29 @@ in
Type = "simple";
ExecStart = "${pkgs.jitsi-excalidraw}/bin/jitsi-excalidraw-backend";
Restart = "on-failure";

DynamicUser = true;
Group = "jitsi-meet";
CapabilityBoundingSet = "";
NoNewPrivileges = true;
ProtectSystem = "strict";
ProtectClock = true;
ProtectHome = true;
ProtectProc = true;
ProtectKernelLogs = true;
PrivateTmp = true;
PrivateDevices = true;
PrivateUsers = true;
ProtectHostname = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectControlGroups = true;
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
RestrictNamespaces = true;
LockPersonality = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SystemCallFilter = [ "@system-service @pkey" "~@privileged" ];
};
};

Expand Down

0 comments on commit 7ab8f25

Please sign in to comment.