at 21.11-pre 5.1 kB view raw
1{ lib, pkgs, ... }: 2 3with lib; 4 5{ 6 imports = [ 7 /* 8 This file defines some renaming/removing options for backwards compatibility 9 10 It should ONLY be used when the relevant module can't define these imports 11 itself, such as when the module was removed completely. 12 See https://github.com/NixOS/nixpkgs/pull/61570 for explanation 13 */ 14 15 # This alias module can't be where _module.check is defined because it would 16 # be added to submodules as well there 17 (mkAliasOptionModule [ "environment" "checkConfigurationOptions" ] [ "_module" "check" ]) 18 19 # Completely removed modules 20 (mkRemovedOptionModule [ "fonts" "fontconfig" "penultimate" ] "The corresponding package has removed from nixpkgs.") 21 (mkRemovedOptionModule [ "services" "quagga" ] "the corresponding package has been removed from nixpkgs") 22 (mkRemovedOptionModule [ "services" "chronos" ] "The corresponding package was removed from nixpkgs.") 23 (mkRemovedOptionModule [ "services" "deepin" ] "The corresponding packages were removed from nixpkgs.") 24 (mkRemovedOptionModule [ "services" "firefox" "syncserver" "user" ] "") 25 (mkRemovedOptionModule [ "services" "firefox" "syncserver" "group" ] "") 26 (mkRemovedOptionModule [ "services" "marathon" ] "The corresponding package was removed from nixpkgs.") 27 (mkRemovedOptionModule [ "services" "mesos" ] "The corresponding package was removed from nixpkgs.") 28 (mkRemovedOptionModule [ "services" "winstone" ] "The corresponding package was removed from nixpkgs.") 29 (mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.") 30 (mkRemovedOptionModule [ "environment" "blcr" "enable" ] "The BLCR module has been removed") 31 (mkRemovedOptionModule [ "services" "beegfsEnable" ] "The BeeGFS module has been removed") 32 (mkRemovedOptionModule [ "services" "beegfs" ] "The BeeGFS module has been removed") 33 (mkRemovedOptionModule ["services" "cgmanager" "enable"] "cgmanager was deprecated by lxc and therefore removed from nixpkgs.") 34 (mkRemovedOptionModule [ "services" "osquery" ] "The osquery module has been removed") 35 (mkRemovedOptionModule [ "services" "fourStore" ] "The fourStore module has been removed") 36 (mkRemovedOptionModule [ "services" "frab" ] "The frab module has been removed") 37 (mkRemovedOptionModule [ "services" "fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed") 38 (mkRemovedOptionModule [ "services" "mathics" ] "The Mathics module has been removed") 39 (mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " + 40 "https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html")) 41 (mkRemovedOptionModule [ "services" "xserver" "multitouch" ] '' 42 services.xserver.multitouch (which uses xf86_input_mtrack) has been removed 43 as the underlying package isn't being maintained. Working alternatives are 44 libinput and synaptics. 45 '') 46 (mkRemovedOptionModule [ "services" "xserver" "displayManager" "auto" ] '' 47 The services.xserver.displayManager.auto module has been removed 48 because it was only intended for use in internal NixOS tests, and gave the 49 false impression of it being a special display manager when it's actually 50 LightDM. Please use the services.xserver.displayManager.autoLogin options 51 instead, or any other display manager in NixOS as they all support auto-login. 52 '') 53 (mkRemovedOptionModule [ "services" "dnscrypt-proxy" ] "Use services.dnscrypt-proxy2 instead") 54 (mkRemovedOptionModule [ "services" "meguca" ] "Use meguca has been removed from nixpkgs") 55 (mkRemovedOptionModule ["hardware" "brightnessctl" ] '' 56 The brightnessctl module was removed because newer versions of 57 brightnessctl don't require the udev rules anymore (they can use the 58 systemd-logind API). Instead of using the module you can now 59 simply add the brightnessctl package to environment.systemPackages. 60 '') 61 (mkRemovedOptionModule [ "virtualisation" "rkt" ] "The rkt module has been removed, it was archived by upstream") 62 63 (mkRemovedOptionModule ["services" "prey" ] '' 64 prey-bash-client is deprecated upstream 65 '') 66 67 (mkRemovedOptionModule ["hardware" "u2f" ] '' 68 The U2F modules module was removed, as all it did was adding the 69 udev rules from libu2f-host to the system. Udev gained native support 70 to handle FIDO security tokens, so this isn't necessary anymore. 71 '') 72 73 (mkRemovedOptionModule [ "services" "seeks" ] "") 74 (mkRemovedOptionModule [ "services" "venus" ] "The corresponding package was removed from nixpkgs.") 75 (mkRemovedOptionModule [ "services" "flashpolicyd" ] "The flashpolicyd module has been removed. Adobe Flash Player is deprecated.") 76 77 (mkRemovedOptionModule [ "security" "hideProcessInformation" ] '' 78 The hidepid module was removed, since the underlying machinery 79 is broken when using cgroups-v2. 80 '') 81 82 # Do NOT add any option renames here, see top of the file 83 ]; 84}