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 same ?
I'm using an RX6700XT iirc, been having issues with it since day one. Somewhat random DE crashes.
For the longest time I ran with only this, and not the above:
disclaimer: I've no idea what this does but it works for me
I'm not sure if the high-power udev rule improved anything, but for me electricity is cheap and my will to troubleshoot ran out.
right now I'm having issues with my monitors blinking at times. My 2nd monitor especially, sometimes 10 'disconnects' in less than a minute, but often hours without a single one.
I've kinda settled on just accepting not knowing exactly what's wrong, cause I'm not sure if it's a bad GPU, bad config, wayland or hyprland screwing me over, and I'm kinda more overwhelmed by learning it than the problem itself.
I added the udev rule, but the issue was still happening when I resume after a suspend.
Strangely enough, I have not seen the issue since a clean install with only hyrpland (no Desktop environment installed alongside). No change to the rest of my config.