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