Change kasei nvidia driver

This commit is contained in:
2022-08-19 12:55:26 +02:00
parent 47794d1ea4
commit b7d71c1e69

View File

@@ -4,8 +4,10 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
# TODO: See ../common.nix
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.videoDrivers = ["nvidia"];
# TODO: See ../common.nix
services.xserver.displayManager.lightdm.enable = true; services.xserver.displayManager.lightdm.enable = true;
machineVars = { machineVars = {
@@ -40,7 +42,10 @@
# security.pam.services.login.unixAuth = true; # security.pam.services.login.unixAuth = true;
boot.loader = { boot = {
blacklistedKernelModules = ["nouveau"];
kernelParams = ["nomodeset"];
loader = {
efi.canTouchEfiVariables = false; efi.canTouchEfiVariables = false;
grub = { grub = {
enable = true; enable = true;
@@ -51,6 +56,7 @@
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
}; };
}; };
};
networking = { networking = {
hostName = "kasei"; hostName = "kasei";