Change kasei nvidia driver

This commit is contained in:
Oystein Kristoffer Tveit 2022-08-19 12:55:26 +02:00
parent 47794d1ea4
commit b7d71c1e69
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 16 additions and 10 deletions

View File

@ -4,8 +4,10 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
services.xserver.enable = true;
services.xserver.videoDrivers = ["nvidia"];
# TODO: See ../common.nix # TODO: See ../common.nix
services.xserver.enable = true;
services.xserver.displayManager.lightdm.enable = true; services.xserver.displayManager.lightdm.enable = true;
machineVars = { machineVars = {
@ -40,15 +42,19 @@
# security.pam.services.login.unixAuth = true; # security.pam.services.login.unixAuth = true;
boot.loader = { boot = {
efi.canTouchEfiVariables = false; blacklistedKernelModules = ["nouveau"];
grub = { kernelParams = ["nomodeset"];
enable = true; loader = {
version = 2; efi.canTouchEfiVariables = false;
efiSupport = true; grub = {
fsIdentifier = "label"; enable = true;
device = "nodev"; version = 2;
efiInstallAsRemovable = true; efiSupport = true;
fsIdentifier = "label";
device = "nodev";
efiInstallAsRemovable = true;
};
}; };
}; };