Can't get Plex to see GPU

  1. I’m migrating from windows and always had my systems set to reboot in the middle of the night so I guess you could say just the normal thing I have always done with my servers.
  2. the two commands I have been using are :

sudo usermod -aG video plex
sudo usermod -aG render plex

after restarting Plex I can now see and use the GPU for hardware transcoding. However once the computer reboots either by me doing it manually, a power outage, or a system commanded reboot Plex can no longer see nor use the GPU until those two commands are used. How do I get it to stay permanently? In addition maybe I’m using the phrase “give permission” for plex to have access to the GPU but not sure that the proper technical term that I should be used