mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
24 lines
612 B
Nix
24 lines
612 B
Nix
# This is highly experimental and WIP. Do not use it.
|
|
{...}: {
|
|
boot.extraModprobeConfig = ''
|
|
blacklist nouveau
|
|
options nouveau modeset=0
|
|
'';
|
|
|
|
services.xserver.videoDrivers = ["modesetting"];
|
|
boot.blacklistedKernelModules = ["nouveau" "nvidia" "nvidia_drm" "nvidia_modeset"];
|
|
hardware.nvidia = {
|
|
# enable = false;
|
|
modesetting.enable = false;
|
|
powerManagement.enable = false;
|
|
};
|
|
# Enable ssh to solve issues temporarily
|
|
services.openssh = {
|
|
enable = true;
|
|
settings = {
|
|
UseDns = true;
|
|
PermitRootLogin = "no";
|
|
PasswordAuthentication = true;
|
|
};
|
|
};
|
|
}
|