Skip to content

Commit

Permalink
nixos/server/plex: remove PrivateDevices for hardware acceleration
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Sep 18, 2023
1 parent 6f96978 commit b5de849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/server/plex.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ with config.users.users.${username}; {
systemd.services.plex.serviceConfig = {
LockPersonality = true;
NoNewPrivileges = true;
PrivateDevices = true;
PrivateDevices = false; # hardware acceleration
PrivateUsers = true;
PrivateTmp = true;
ProtectClock = true;
ProtectControlGroups = true;
Expand Down

0 comments on commit b5de849

Please sign in to comment.