feat(hosts/orion): enable iwlwifi power save
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled

This commit is contained in:
Price Hiller 2024-08-11 15:51:01 -05:00
parent ff8e66729e
commit 1660b2c740
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,9 @@
{ pkgs, config, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.videoDrivers = [
"intel"
"nvidia"
];
environment.variables.VDPAU_DRIVER = "va_gl";
hardware = {
enableRedistributableFirmware = true;

View File

@ -3,4 +3,7 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
services.fstrim.enable = true;
boot.extraModprobeConfig = ''
options iwlwifi power_save=1
'';
}