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
]; ];
# 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";