This commit is contained in:
iFargle 2023-08-23 23:40:37 +09:00
parent f700ea8d88
commit d32ca67e53

View file

@ -19,6 +19,11 @@
videoDrivers = [ "nvidia" ]; videoDrivers = [ "nvidia" ];
}; };
##### disable nvidia, very nice battery life.
hardware.nvidiaOptimus.disable = lib.mkDefault true;
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ];
services.xserver.videoDrivers = lib.mkDefault [ "intel" ];
services.xserver = { services.xserver = {
# https://nixos.org/manual/nixos/stable/index.html#chap-gnome # https://nixos.org/manual/nixos/stable/index.html#chap-gnome
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.