Generalize nouveau specialization
This commit is contained in:
parent
943f4120f2
commit
e8e225ea89
2 changed files with 5 additions and 6 deletions
|
@ -34,10 +34,4 @@ in {
|
||||||
boot.kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:2504,10de:228e" ];
|
boot.kernelParams = commonKernelParams ++ [ "vfio-pci.ids=10de:2504,10de:228e" ];
|
||||||
environment.sessionVariables.WLR_RENDERER = lib.mkForce "gles2";
|
environment.sessionVariables.WLR_RENDERER = lib.mkForce "gles2";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use Nouveau
|
|
||||||
specialisation.nouveau.configuration.config = {
|
|
||||||
system.nvidia.enable = lib.mkForce false;
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkForce "";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,5 +15,10 @@
|
||||||
boot.kernelParams = [ "nvidia_drm.fbdev=1" ];
|
boot.kernelParams = [ "nvidia_drm.fbdev=1" ];
|
||||||
|
|
||||||
nixpkgs.allowUnfreePackages = [ "nvidia-x11" ];
|
nixpkgs.allowUnfreePackages = [ "nvidia-x11" ];
|
||||||
|
|
||||||
|
specialisation.nouveau.configuration.config = {
|
||||||
|
system.nvidia.enable = lib.mkForce false;
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = lib.mkForce "";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue