mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
Merge #51836: nixos/nvidia: fix inverted assertion
(cherry picked from commit ac19d5e34f)
This commit is contained in:
@@ -97,7 +97,7 @@ in
|
||||
config = mkIf enabled {
|
||||
assertions = [
|
||||
{
|
||||
assertion = config.services.xserver.displayManager.gdm.wayland;
|
||||
assertion = !config.services.xserver.displayManager.gdm.wayland;
|
||||
message = "NVidia drivers don't support wayland";
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user