mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 04:25:59 +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 {
|
||||
enableXWayland = cfg.xwayland.enable;
|
||||
hidpiXWayland = cfg.xwayland.hidpi;
|
||||
nvidiaPatches = cfg.nvidiaPatches;
|
||||
};
|
||||
in {
|
||||
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 {
|
||||
type = lib.types.nullOr lib.types.lines;
|
||||
default = "";
|
||||
|
|
Loading…
Reference in a new issue