mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 11:05:58 +01:00
nix/hm-module: add nvidiaPatches option
This commit is contained in:
parent
974739457f
commit
27b8561d25
1 changed files with 12 additions and 0 deletions
|
@ -8,6 +8,7 @@ self: {
|
||||||
defaultHyprlandPackage = self.packages.${pkgs.system}.default.override {
|
defaultHyprlandPackage = self.packages.${pkgs.system}.default.override {
|
||||||
enableXWayland = cfg.xwayland.enable;
|
enableXWayland = cfg.xwayland.enable;
|
||||||
hidpiXWayland = cfg.xwayland.hidpi;
|
hidpiXWayland = cfg.xwayland.hidpi;
|
||||||
|
nvidiaPatches = cfg.nvidiaPatches;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.wayland.windowManager.hyprland = {
|
options.wayland.windowManager.hyprland = {
|
||||||
|
@ -59,6 +60,17 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nvidiaPatches = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
defaultText = lib.literalExpression "false";
|
||||||
|
example = lib.liberalExpression "true";
|
||||||
|
description = ''
|
||||||
|
Patch wlroots for better Nvidia support.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
extraConfig = lib.mkOption {
|
extraConfig = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.lines;
|
type = lib.types.nullOr lib.types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
Loading…
Reference in a new issue