{...}: { imports = [ ./hardware-configuration.nix ]; services.xserver.videoDrivers = [ "nvidia" ]; hardware.nvidia = { modesetting.enable = true; powerManagement.enable = false; powerManagement.finegrained = false; open = false; nvidiaSettings = true; }; hardware.graphics = { enable = true; enable32Bit = true; }; services.pipewire.wireplumber.extraConfig."10-rename-devices" = { "monitor.alsa.rules" = [ { matches = [ { "node.name" = "alsa_output.pci-0000_0a_00.4.analog-stereo"; } ]; actions = { update-props = { "node.description" = "Speakers"; }; }; } { matches = [ { "node.name" = "alsa_output.pci-0000_08_00.1.hdmi-stereo"; } ]; actions = { update-props = { "device.disabled" = true; }; }; } { matches = [ { "node.name" = "alsa_output.usb-HP__Inc_HyperX_Cloud_II_Core_Wireless-00"; } ]; actions = { update-props = { "node.description" = "HyperX Cloud II"; }; }; } ]; }; }