nixos/hyprland: remove enableNvidiaPatches option

Hyprland now works on Nvidia without patching.

authored by Mihai Fufezan and committed by Jörg Thalheim 79ddf33f 18ee0842

+6 -5
+6 -5
nixos/modules/programs/hyprland.nix
··· 30 readOnly = true; 31 default = cfg.package.override { 32 enableXWayland = cfg.xwayland.enable; 33 - enableNvidiaPatches = cfg.enableNvidiaPatches; 34 }; 35 defaultText = literalExpression 36 "`programs.hyprland.package` with applied configuration"; ··· 42 portalPackage = mkPackageOption pkgs "xdg-desktop-portal-hyprland" { }; 43 44 xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; }; 45 - 46 - enableNvidiaPatches = mkEnableOption (mdDoc "patching wlroots for better Nvidia support"); 47 }; 48 49 config = mkIf cfg.enable { ··· 73 [ "programs" "hyprland" "xwayland" "hidpi" ] 74 "XWayland patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland" 75 ) 76 - (mkRenamedOptionModule 77 - [ "programs" "hyprland" "nvidiaPatches" ] 78 [ "programs" "hyprland" "enableNvidiaPatches" ] 79 ) 80 ]; 81 }
··· 30 readOnly = true; 31 default = cfg.package.override { 32 enableXWayland = cfg.xwayland.enable; 33 }; 34 defaultText = literalExpression 35 "`programs.hyprland.package` with applied configuration"; ··· 41 portalPackage = mkPackageOption pkgs "xdg-desktop-portal-hyprland" { }; 42 43 xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; }; 44 }; 45 46 config = mkIf cfg.enable { ··· 70 [ "programs" "hyprland" "xwayland" "hidpi" ] 71 "XWayland patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland" 72 ) 73 + (mkRemovedOptionModule 74 [ "programs" "hyprland" "enableNvidiaPatches" ] 75 + "Nvidia patches are no longer needed" 76 + ) 77 + (mkRemovedOptionModule 78 + [ "programs" "hyprland" "nvidiaPatches" ] 79 + "Nvidia patches are no longer needed" 80 ) 81 ]; 82 }