mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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;
|
||||
default = false;
|
||||
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 = {
|
||||
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}";
|
||||
ExecStart = "${pkgs.picom}/bin/picom --config ${configFile}"
|
||||
+ (optionalString cfg.experimentalBackends " --experimental-backends");
|
||||
RestartSec = 3;
|
||||
Restart = "always";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user