mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
hyprland: remove enableNvidiaPatches option
Hyprland no longer requires patching to work on Nvidia.
This commit is contained in:
parent
6a171bfd84
commit
938357cb23
1 changed files with 6 additions and 9 deletions
|
@ -28,9 +28,12 @@ in {
|
||||||
[ "wayland" "windowManager" "hyprland" "xwayland" "hidpi" ]
|
[ "wayland" "windowManager" "hyprland" "xwayland" "hidpi" ]
|
||||||
"HiDPI patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland")
|
"HiDPI patches are deprecated. Refer to https://wiki.hyprland.org/Configuring/XWayland")
|
||||||
|
|
||||||
(lib.mkRenamedOptionModule # \
|
(lib.mkRemovedOptionModule # \
|
||||||
[ "wayland" "windowManager" "hyprland" "nvidiaPatches" ] # \
|
[ "wayland" "windowManager" "hyprland" "nvidiaPatches" ] # \
|
||||||
[ "wayland" "windowManager" "hyprland" "enableNvidiaPatches" ])
|
"Nvidia patches are no longer needed")
|
||||||
|
(lib.mkRemovedOptionModule # \
|
||||||
|
[ "wayland" "windowManager" "hyprland" "enableNvidiaPatches" ] # \
|
||||||
|
"Nvidia patches are no longer needed")
|
||||||
|
|
||||||
(lib.mkRenamedOptionModule # \
|
(lib.mkRenamedOptionModule # \
|
||||||
[ "wayland" "windowManager" "hyprland" "systemdIntegration" ] # \
|
[ "wayland" "windowManager" "hyprland" "systemdIntegration" ] # \
|
||||||
|
@ -45,10 +48,7 @@ in {
|
||||||
finalPackage = lib.mkOption {
|
finalPackage = lib.mkOption {
|
||||||
type = lib.types.package;
|
type = lib.types.package;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = cfg.package.override {
|
default = cfg.package.override { enableXWayland = cfg.xwayland.enable; };
|
||||||
enableXWayland = cfg.xwayland.enable;
|
|
||||||
enableNvidiaPatches = cfg.enableNvidiaPatches;
|
|
||||||
};
|
|
||||||
defaultText = lib.literalMD
|
defaultText = lib.literalMD
|
||||||
"`wayland.windowManager.hyprland.package` with applied configuration";
|
"`wayland.windowManager.hyprland.package` with applied configuration";
|
||||||
description = ''
|
description = ''
|
||||||
|
@ -107,9 +107,6 @@ in {
|
||||||
|
|
||||||
xwayland.enable = lib.mkEnableOption "XWayland" // { default = true; };
|
xwayland.enable = lib.mkEnableOption "XWayland" // { default = true; };
|
||||||
|
|
||||||
enableNvidiaPatches =
|
|
||||||
lib.mkEnableOption "patching wlroots for better Nvidia support";
|
|
||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
type = with lib.types;
|
type = with lib.types;
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue