Merge pull request #97390 from axelf4/picom-experimentalBackends-option
nixos/picom: add experimentalBackends option
This commit is contained in:
commit
1032e90b52
@ -57,7 +57,15 @@ in {
|
|||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Whether of not to enable Picom as the X.org composite manager.
|
Whether or not to enable Picom as the X.org composite manager.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
experimentalBackends = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Whether to use the unstable new reimplementation of the backends.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -302,7 +310,8 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}";
|
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}"
|
||||||
|
+ (optionalString cfg.experimentalBackends " --experimental-backends");
|
||||||
RestartSec = 3;
|
RestartSec = 3;
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user