From 9f09eb95f3cee82acf3f687d758cdc62a2197d1c Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 14 Feb 2024 13:35:16 +0100 Subject: [PATCH] make osu stable use my dGPU --- hosts/niks/home-manager.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/niks/home-manager.nix b/hosts/niks/home-manager.nix index 5123d6cb..fbbb760f 100644 --- a/hosts/niks/home-manager.nix +++ b/hosts/niks/home-manager.nix @@ -92,7 +92,11 @@ pamixer brightnessctl dig - nix-gaming.osu-stable + (nix-gaming.osu-stable.override { + preCommands = '' + export DRI_PRIME=1 + ''; + }) nix-gaming.osu-lazer-bin swappy nixpkgs-wayland.imv