This commit is contained in:
iFargle 2023-08-23 23:40:52 +09:00
parent d32ca67e53
commit 6f6f7e58c5

View file

@ -16,13 +16,12 @@
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
autorun = true; autorun = true;
videoDrivers = [ "nvidia" ]; videoDrivers = [ "intel" ];
}; };
##### disable nvidia, very nice battery life. ##### disable nvidia, very nice battery life.
hardware.nvidiaOptimus.disable = lib.mkDefault true; hardware.nvidiaOptimus.disable = lib.mkDefault true;
boot.blacklistedKernelModules = lib.mkDefault [ "nouveau" "nvidia" ]; 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