Compare commits

..

5 Commits

Author SHA1 Message Date
4dea099ecf
feat(hosts/orion): enable iwlwifi power save
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 45s
2024-08-11 16:53:18 -05:00
20a5c3a459
build(nix): update flake.lock 2024-08-11 16:53:17 -05:00
6899497493
chore(vesktop): update settings.json 2024-08-11 16:53:17 -05:00
e526849527
feat(hm/price): enable Nvidia PRIME offloading for Steam
We setup a custom `steam.desktop` entry for our applications that makes
Steam run on the Nvidia graphics card. As a consequence, all processes
launched by steam will likewise offload their graphical rendering to the
discrete graphics card as well.
2024-08-11 16:53:17 -05:00
1ba55b468d
feat(hosts/orion): enable Nvidia GPU w/ PRIME 2024-08-11 16:53:17 -05:00

View File

@ -1,4 +1,9 @@
{ pkgs, config, ... }: {
pkgs,
lib,
config,
...
}:
{ {
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
environment.variables.VDPAU_DRIVER = "va_gl"; environment.variables.VDPAU_DRIVER = "va_gl";
@ -16,6 +21,7 @@
extraPackages32 = with pkgs.driversi686Linux; [ intel-vaapi-driver ]; extraPackages32 = with pkgs.driversi686Linux; [ intel-vaapi-driver ];
}; };
nvidia = { nvidia = {
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; package = config.boot.kernelPackages.nvidiaPackages.beta;
powerManagement.enable = true; powerManagement.enable = true;
prime = { prime = {