From 94cb745638a4dbb201dbf6c9414d29134bd67465 Mon Sep 17 00:00:00 2001 From: Victor Mignot Date: Sat, 15 Jun 2024 18:28:33 +0200 Subject: [PATCH] Reswitch from Nvidia drivers to Nouveau --- modules/common/hardware.nix | 8 -------- modules/workstation/home-manager/fish.nix | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/common/hardware.nix b/modules/common/hardware.nix index 9219b77..4245a92 100644 --- a/modules/common/hardware.nix +++ b/modules/common/hardware.nix @@ -33,13 +33,5 @@ with lib; (mkIf (config.hwAccelerationGPU == "intel") intel-compute-runtime) ]; }; - - services.xserver.videoDrivers = mkIf (config.hwAccelerationGPU == "nvidia") [ "nvidia" ]; - - hardware.nvidia = mkIf (config.hwAccelerationGPU == "nvidia") { - modesetting.enable = true; - open = true; - package = config.boot.kernelPackages.nvidiaPackages.stable; - }; }; } diff --git a/modules/workstation/home-manager/fish.nix b/modules/workstation/home-manager/fish.nix index e7660a3..1b5fac0 100644 --- a/modules/workstation/home-manager/fish.nix +++ b/modules/workstation/home-manager/fish.nix @@ -31,7 +31,7 @@ with lib; shellInit = '' set -g theme_color_scheme nord if [ -z $DISPLAY ] && [ "$(tty)" = /dev/tty1 ] - exec sway ${unsupportedGPUFlag} + exec sway end ''; };