fix: systemd nvidia failure
This commit is contained in:
parent
d7b1a49f63
commit
8907530a57
1 changed files with 3 additions and 4 deletions
|
|
@ -5,8 +5,8 @@
|
|||
{
|
||||
boot = {
|
||||
kernelModules = [ "nvidia" ];
|
||||
kernelParams = [ "nvidia-drm.modset=1" ];
|
||||
blacklistedKernelModules = [ "nouveau" ];
|
||||
kernelParams = [ "nvidia-drm.modeset=1" ];
|
||||
blacklistedKernelModules = [ "nouveau" "amdgpu" ];
|
||||
};
|
||||
hardware = {
|
||||
graphics = {
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
desktopManager.gnome.enable = true;
|
||||
displayManager = {
|
||||
gdm.enable = true;
|
||||
gdm.wayland = true;
|
||||
# gdm.wayland = true;
|
||||
defaultSession = "gnome";
|
||||
};
|
||||
|
||||
|
|
@ -45,7 +45,6 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
cudaPackages.cuda_nvcc
|
||||
cudaPackages.cudatoolkit
|
||||
mesa-demos
|
||||
libepoxy
|
||||
libglvnd
|
||||
nvidia-container-toolkit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue