mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
compton: remove
This module was deprecated since release 20.03 according to the news, so it can be removed.
This commit is contained in:
parent
b908e61dfa
commit
177f1887d4
3 changed files with 3 additions and 44 deletions
|
@ -84,6 +84,9 @@ removed since upstream changed the blur settings to be more flexible.
|
|||
You can migrate the blur settings to use
|
||||
<<opt-services.picom.settings>> instead.
|
||||
|
||||
* The `services.compton` module has been removed. It was deprecated in
|
||||
release 20.03. Use `services.picom` instead.
|
||||
|
||||
[[sec-release-22.11-state-version-changes]]
|
||||
=== State Version Changes
|
||||
|
||||
|
|
|
@ -185,7 +185,6 @@ let
|
|||
./services/caffeine.nix
|
||||
./services/cbatticon.nix
|
||||
./services/clipmenu.nix
|
||||
./services/compton.nix
|
||||
./services/devilspie2.nix
|
||||
./services/dropbox.nix
|
||||
./services/dunst.nix
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib; {
|
||||
imports = let
|
||||
old = n: [ "services" "compton" n ];
|
||||
new = n: [ "services" "picom" n ];
|
||||
in [
|
||||
(mkRenamedOptionModule (old "activeOpacity") (new "activeOpacity"))
|
||||
(mkRenamedOptionModule (old "backend") (new "backend"))
|
||||
(mkRenamedOptionModule (old "blur") (new "blur"))
|
||||
(mkRenamedOptionModule (old "blurExclude") (new "blurExclude"))
|
||||
(mkRenamedOptionModule (old "extraOptions") (new "extraOptions"))
|
||||
(mkRenamedOptionModule (old "fade") (new "fade"))
|
||||
(mkRenamedOptionModule (old "fadeDelta") (new "fadeDelta"))
|
||||
(mkRenamedOptionModule (old "fadeExclude") (new "fadeExclude"))
|
||||
(mkRenamedOptionModule (old "fadeSteps") (new "fadeSteps"))
|
||||
(mkRenamedOptionModule (old "inactiveDim") (new "inactiveDim"))
|
||||
(mkRenamedOptionModule (old "inactiveOpacity") (new "inactiveOpacity"))
|
||||
(mkRenamedOptionModule (old "menuOpacity") (new "menuOpacity"))
|
||||
(mkRenamedOptionModule (old "noDNDShadow") (new "noDNDShadow"))
|
||||
(mkRenamedOptionModule (old "noDockShadow") (new "noDockShadow"))
|
||||
(mkRenamedOptionModule (old "opacityRule") (new "opacityRule"))
|
||||
(mkRenamedOptionModule (old "package") (new "package"))
|
||||
(mkRenamedOptionModule (old "refreshRate") (new "refreshRate"))
|
||||
(mkRenamedOptionModule (old "shadow") (new "shadow"))
|
||||
(mkRenamedOptionModule (old "shadowExclude") (new "shadowExclude"))
|
||||
(mkRenamedOptionModule (old "shadowOffsets") (new "shadowOffsets"))
|
||||
(mkRenamedOptionModule (old "shadowOpacity") (new "shadowOpacity"))
|
||||
(mkChangedOptionModule (old "vSync") (new "vSync") (v: v != "none"))
|
||||
];
|
||||
|
||||
options.services.compton.enable = mkEnableOption "Compton X11 compositor" // {
|
||||
visible = false;
|
||||
};
|
||||
|
||||
config = mkIf config.services.compton.enable {
|
||||
warnings = [
|
||||
"Obsolete option `services.compton.enable' is used. It was renamed to `services.picom.enable'."
|
||||
];
|
||||
|
||||
services.picom.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue