nixos/hyprland: remove enableNvidiaPatches option
Hyprland now works on Nvidia without patching.
This commit is contained in:
parent
18ee0842a5
commit
79ddf33f84
@ -30,7 +30,6 @@ in
|
|||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = cfg.package.override {
|
default = cfg.package.override {
|
||||||
enableXWayland = cfg.xwayland.enable;
|
enableXWayland = cfg.xwayland.enable;
|
||||||
enableNvidiaPatches = cfg.enableNvidiaPatches;
|
|
||||||
};
|
};
|
||||||
defaultText = literalExpression
|
defaultText = literalExpression
|
||||||
"`programs.hyprland.package` with applied configuration";
|
"`programs.hyprland.package` with applied configuration";
|
||||||
@ -42,8 +41,6 @@ in
|
|||||||
portalPackage = mkPackageOption pkgs "xdg-desktop-portal-hyprland" { };
|
portalPackage = mkPackageOption pkgs "xdg-desktop-portal-hyprland" { };
|
||||||
|
|
||||||
xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; };
|
xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; };
|
||||||
|
|
||||||
enableNvidiaPatches = mkEnableOption (mdDoc "patching wlroots for better Nvidia support");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -73,9 +70,13 @@ in
|
|||||||
[ "programs" "hyprland" "xwayland" "hidpi" ]
|
[ "programs" "hyprland" "xwayland" "hidpi" ]
|
||||||
"XWayland patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland"
|
"XWayland patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland"
|
||||||
)
|
)
|
||||||
(mkRenamedOptionModule
|
(mkRemovedOptionModule
|
||||||
[ "programs" "hyprland" "nvidiaPatches" ]
|
|
||||||
[ "programs" "hyprland" "enableNvidiaPatches" ]
|
[ "programs" "hyprland" "enableNvidiaPatches" ]
|
||||||
|
"Nvidia patches are no longer needed"
|
||||||
|
)
|
||||||
|
(mkRemovedOptionModule
|
||||||
|
[ "programs" "hyprland" "nvidiaPatches" ]
|
||||||
|
"Nvidia patches are no longer needed"
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user