Hey everyone! About a year ago, I faced some issues with Windows and decided to switch to Linux. I ended up dual-booting my laptop with Windows and Ubuntu using KDE Plasma, but it didn't work out, and I switched back to Windows. Recently, I became interested in Hyprland and decided to wipe my Kubuntu partition to install NixOS with Hyprland.
However, I'm running into a major issue because my laptop has an Nvidia 3070 Mobile dedicated graphics card and an AMD Ryzen processor with an integrated GPU. It seems like the laptop's built-in screen is directly connected to the AMD GPU, while external monitors can only be used with the Nvidia card. This means I can only get one of the two displays working at a time.
At one point, I was able to display on my laptop screen, but now it only shows a static underscore after login, while the external monitor works fine. I've gone through the NixOS docs regarding Nvidia, tried various modesetting options, and searched for solutions online, but nothing has worked. My configuration files can be found on my GitHub, where you can see my current setup as well as a backup that was known to work with the external monitor. Any help would be greatly appreciated because I'm at a loss for what to do next!
1 Answer
Why do you want to use NixOS? For most home users, it can be quite a hassle. Unless you're looking to duplicate your setup across multiple devices for a specific use, it might not be worth the extra effort. Just curious what your reasoning is!

I’m trying out NixOS mainly to experience Hyprland, which wasn’t working well in my previous environment. Plus, I like looking at other people's config files to learn how things are structured. I’ve enjoyed fiddling with Nix so far, but now I’m starting to think switching to Arch might have been easier!