nixos/picom: remove experimentalBackends option

Removed by upstream in the recent v10 release.
This commit is contained in:
Thiago Kenji Okada
2022-11-16 20:13:42 +00:00
parent efa60e11cf
commit 6785dae748
+4 -10
View File
@@ -47,6 +47,9 @@ in {
since picom v6 and was subsequently removed by upstream.
See https://github.com/yshui/picom/commit/bcbc410
'')
(mkRemovedOptionModule [ "services" "picom" "experimentalBackends" ] ''
This option was removed by upstream since picom v10.
'')
];
options.services.picom = {
@@ -58,14 +61,6 @@ in {
'';
};
experimentalBackends = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Whether to use the unstable new reimplementation of the backends.
'';
};
fade = mkOption {
type = types.bool;
default = false;
@@ -306,8 +301,7 @@ in {
};
serviceConfig = {
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}"
+ (optionalString cfg.experimentalBackends " --experimental-backends");
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}";
RestartSec = 3;
Restart = "always";
};