How do I add a udev rule in NixOS to set my AMD GPU's performance level to 'high' ?

So I have been experiencing screen blackout when I use any refresh rate above 60Hz. On Arch I was able to solve this by setting a udev rule as mentioned in this ArchWiki article but it seems like I can’t do the same in NixOS using the traditional way. Is there anything I need to add in the configuration.nix file to achieve the...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • nixos@lemmy.ml
  • DreamBathrooms
  • magazineikmin
  • osvaldo12
  • InstantRegret
  • rosin
  • Youngstown
  • mdbf
  • ngwrru68w68
  • slotface
  • everett
  • modclub
  • kavyap
  • thenastyranch
  • Durango
  • JUstTest
  • tacticalgear
  • GTA5RPClips
  • ethstaker
  • cubers
  • khanakhh
  • Leos
  • cisconetworking
  • normalnudes
  • provamag3
  • tester
  • anitta
  • megavids
  • lostlight
  • All magazines