From 765e467b1a47cc763eb9d6dbb0c991afdb6f8cde Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 6 Oct 2024 01:15:36 -0700 Subject: [PATCH] squash! feat(adrastea): bypass amd gpu entirely to vastly increase perf --- hosts/adrastea/home-manager-extras/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/adrastea/home-manager-extras/default.nix b/hosts/adrastea/home-manager-extras/default.nix index ed44707..ef3f24f 100644 --- a/hosts/adrastea/home-manager-extras/default.nix +++ b/hosts/adrastea/home-manager-extras/default.nix @@ -6,6 +6,10 @@ "HDMI-A-1,2560x1440@144,0x0,1.0" ]; + # since we are using this as a "desktop" of sorts, we have no need to save + # power by using optimus. poor performance on external display, so we add + # this line to force hyprland to use the nvidia GPU only for rendering. can + # be removed if only using internal display wayland.windowManager.hyprland.settings.env = [ "AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0" ];