diff --git a/README.org b/README.org index 061d10e..e6aeaa1 100644 --- a/README.org +++ b/README.org @@ -741,7 +741,10 @@ Kaladin is my desktop machine. A powerhouse for the most part with a recent i7 a libvdpau-va-gl ]; }; - nvidia.modesetting.enable = true; + nvidia = { + modesetting.enable = true; + powerManagement.enable = true; + }; }; <> @@ -870,7 +873,7 @@ And here is it's hardware config. boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; fileSystems."/" = { device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10"; diff --git a/system/kaladin/configuration.nix b/system/kaladin/configuration.nix index 06f180b..fffe83f 100644 --- a/system/kaladin/configuration.nix +++ b/system/kaladin/configuration.nix @@ -56,7 +56,10 @@ libvdpau-va-gl ]; }; - nvidia.modesetting.enable = true; + nvidia = { + modesetting.enable = true; + powerManagement.enable = true; + }; }; services.xserver = { diff --git a/system/kaladin/hardware-configuration.nix b/system/kaladin/hardware-configuration.nix index 808de52..e1c084d 100644 --- a/system/kaladin/hardware-configuration.nix +++ b/system/kaladin/hardware-configuration.nix @@ -8,7 +8,7 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; + boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ]; fileSystems."/" = { device = "/dev/disk/by-uuid/9b5a1a62-0de6-4e07-a541-634736980d10";