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 = {
|
boot = {
|
||||||
kernelModules = [ "nvidia" ];
|
kernelModules = [ "nvidia" ];
|
||||||
kernelParams = [ "nvidia-drm.modset=1" ];
|
kernelParams = [ "nvidia-drm.modeset=1" ];
|
||||||
blacklistedKernelModules = [ "nouveau" ];
|
blacklistedKernelModules = [ "nouveau" "amdgpu" ];
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics = {
|
graphics = {
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
gdm.enable = true;
|
gdm.enable = true;
|
||||||
gdm.wayland = true;
|
# gdm.wayland = true;
|
||||||
defaultSession = "gnome";
|
defaultSession = "gnome";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -45,7 +45,6 @@
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cudaPackages.cuda_nvcc
|
cudaPackages.cuda_nvcc
|
||||||
cudaPackages.cudatoolkit
|
cudaPackages.cudatoolkit
|
||||||
mesa-demos
|
|
||||||
libepoxy
|
libepoxy
|
||||||
libglvnd
|
libglvnd
|
||||||
nvidia-container-toolkit
|
nvidia-container-toolkit
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue