Change kasei nvidia driver
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user