Merge pull request #177256 from rnhmjoj/pr-picom
nixos/picom: remove deprecated refreshRate option
This commit is contained in:
commit
5bc0350e7c
|
@ -51,6 +51,11 @@ in {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
(mkAliasOptionModule [ "services" "compton" ] [ "services" "picom" ])
|
(mkAliasOptionModule [ "services" "compton" ] [ "services" "picom" ])
|
||||||
|
(mkRemovedOptionModule [ "services" "picom" "refreshRate" ] ''
|
||||||
|
This option corresponds to `refresh-rate`, which has been unused
|
||||||
|
since picom v6 and was subsequently removed by upstream.
|
||||||
|
See https://github.com/yshui/picom/commit/bcbc410
|
||||||
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
options.services.picom = {
|
options.services.picom = {
|
||||||
|
@ -235,15 +240,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
refreshRate = mkOption {
|
|
||||||
type = types.ints.unsigned;
|
|
||||||
default = 0;
|
|
||||||
example = 60;
|
|
||||||
description = ''
|
|
||||||
Screen refresh rate (0 = automatically detect).
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
settings = with types;
|
settings = with types;
|
||||||
let
|
let
|
||||||
scalar = oneOf [ bool int float str ]
|
scalar = oneOf [ bool int float str ]
|
||||||
|
@ -306,7 +302,6 @@ in {
|
||||||
# other options
|
# other options
|
||||||
backend = cfg.backend;
|
backend = cfg.backend;
|
||||||
vsync = cfg.vSync;
|
vsync = cfg.vSync;
|
||||||
refresh-rate = cfg.refreshRate;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.picom = {
|
systemd.user.services.picom = {
|
||||||
|
|
Loading…
Reference in a new issue