diff --git a/hosts/orion/modules/hardware.nix b/hosts/orion/modules/hardware.nix index c5ccf901..ceb20053 100644 --- a/hosts/orion/modules/hardware.nix +++ b/hosts/orion/modules/hardware.nix @@ -1,6 +1,9 @@ { pkgs, config, ... }: { - services.xserver.videoDrivers = [ "nvidia" ]; + services.xserver.videoDrivers = [ + "intel" + "nvidia" + ]; environment.variables.VDPAU_DRIVER = "va_gl"; hardware = { enableRedistributableFirmware = true; diff --git a/hosts/orion/os/hardware.nix b/hosts/orion/os/hardware.nix index 7803acfd..48b7eb9a 100644 --- a/hosts/orion/os/hardware.nix +++ b/hosts/orion/os/hardware.nix @@ -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 + ''; }