Yes, but it also shows hyprland, which means that everything is rendering on your GPU. You’re not using PRIME, which is unsurprising; The prime module is broken on wayland. You’re unlucky that your dGPU happens to be the boot vga, otherwise offload would work out of the box.
This is fine if you don’t mind the battery usage, but if you want to use PRIME I imagine that’s a problem for you.
If not using PRIME works for you, I suggest simplifying your configuration to just this:
{ pkgs, lib, ... }: {
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
# If you don't enable this you'll have
# issues with sleep
powerManagement.enable = true;
open = true;
};
# You don't need this if you don't override
# your kernel version separately, but this
# prevents mistakes.
boot.kernelPackages = lib.mkForce pkgs.linuxKernel.packages.linux_default;
}
Everything else is superfluous, and force setting it prevents upstream maintenance; lots of people set those values but that’s because they see other people using them on the internet, not because it makes sense.
I explain this in my rant, too ![]()