Merge pull request #201545 from thiagokokada/remove-picom-experimental-backends

nixos/picom: remove experimentalBackends option
This commit is contained in:
Thiago Kenji Okada
2022-11-16 20:55:28 +00:00
committed by GitHub
3 changed files with 14 additions and 10 deletions
@@ -1464,6 +1464,14 @@ services.github-runner.serviceOverrides.SupplementaryGroups = [
are under <literal>programs.firefox</literal>.
</para>
</listitem>
<listitem>
<para>
The option
<literal>services.picom.experimentalBackends</literal> was
removed since it is now the default and the option will cause
<literal>picom</literal> to quit instead.
</para>
</listitem>
</itemizedlist>
</section>
</section>
@@ -447,4 +447,6 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
- A NixOS module for Firefox has been added which allows preferences and [policies](https://github.com/mozilla/policy-templates/blob/master/README.md) to be set. This also allows extensions to be installed via the `ExtensionSettings` policy. The new options are under `programs.firefox`.
- The option `services.picom.experimentalBackends` was removed since it is now the default and the option will cause `picom` to quit instead.
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+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";
};