From 57475d12adba623685ed0913784ea321bab123a4 Mon Sep 17 00:00:00 2001
From: Yell0w Ghost <34014106+yellowgh0st@users.noreply.github.com>
Date: Tue, 28 Nov 2017 14:02:48 +0100
Subject: [PATCH] compton: adding missing xr_glx_hybrid backend
Compton can run with xr_glx_hybrid backend too.
Adding this missing option.
---
nixos/modules/services/x11/compton.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nixos/modules/services/x11/compton.nix b/nixos/modules/services/x11/compton.nix
index 11cbcac6fa85..8641c05de52e 100644
--- a/nixos/modules/services/x11/compton.nix
+++ b/nixos/modules/services/x11/compton.nix
@@ -181,10 +181,10 @@ in {
};
backend = mkOption {
- type = types.enum [ "glx" "xrender" ];
+ type = types.enum [ "glx" "xrender" "xr_glx_hybrid" ];
default = "xrender";
description = ''
- Backend to use: glx or xrender.
+ Backend to use: glx, xrender or xr_glx_hybrid.
'';
};