at master 19 kB view raw
1{ lib, ... }: 2 3let 4 inherit (lib) 5 mkAliasOptionModuleMD 6 mkRemovedOptionModule 7 ; 8in 9{ 10 imports = [ 11 /* 12 This file defines some renaming/removing options for backwards compatibility 13 14 It should ONLY be used when the relevant module can't define these imports 15 itself, such as when the module was removed completely. 16 See https://github.com/NixOS/nixpkgs/pull/61570 for explanation 17 */ 18 19 # This alias module can't be where _module.check is defined because it would 20 # be added to submodules as well there 21 (mkAliasOptionModuleMD [ "environment" "checkConfigurationOptions" ] [ "_module" "check" ]) 22 23 # Completely removed modules 24 (mkRemovedOptionModule [ "boot" "loader" "raspberryPi" ] 25 "The raspberryPi boot loader has been removed. See https://github.com/NixOS/nixpkgs/pull/241534 for what to use instead." 26 ) 27 (mkRemovedOptionModule [ "environment" "blcr" "enable" ] "The BLCR module has been removed") 28 (mkRemovedOptionModule [ "environment" "noXlibs" ] '' 29 The environment.noXlibs option was removed, as it often caused surprising breakages for new users. 30 If you need its functionality, you can apply similar overlays in your own config. 31 '') 32 (mkRemovedOptionModule [ 33 "fonts" 34 "fontconfig" 35 "penultimate" 36 ] "The corresponding package has removed from nixpkgs.") 37 (mkRemovedOptionModule [ 38 "hardware" 39 "amdgpu" 40 "amdvlk" 41 ] "'amdvlk' has been removed. The replacement driver RADV, part of Mesa, is enabled by default.") 42 (mkRemovedOptionModule [ "hardware" "brightnessctl" ] '' 43 The brightnessctl module was removed because newer versions of 44 brightnessctl don't require the udev rules anymore (they can use the 45 systemd-logind API). Instead of using the module you can now 46 simply add the brightnessctl package to environment.systemPackages. 47 '') 48 (mkRemovedOptionModule [ "hardware" "gkraken" "enable" ] '' 49 gkraken was deprecated by coolercontrol and thus removed from nixpkgs. 50 Consider using programs.coolercontrol instead. 51 '') 52 (mkRemovedOptionModule [ "hardware" "u2f" ] '' 53 The U2F modules module was removed, as all it did was adding the 54 udev rules from libu2f-host to the system. Udev gained native support 55 to handle FIDO security tokens, so this isn't necessary anymore. 56 '') 57 (mkRemovedOptionModule [ "hardware" "xow" ] '' 58 The xow package was removed from nixpkgs. Upstream has deprecated 59 the project and users are urged to switch to xone. 60 '') 61 (mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.") 62 (mkRemovedOptionModule [ 63 "networking" 64 "wicd" 65 ] "The corresponding package was removed from nixpkgs.") 66 (mkRemovedOptionModule [ 67 "programs" 68 "cardboard" 69 ] "The corresponding package was removed from nixpkgs.") 70 (mkRemovedOptionModule [ 71 "programs" 72 "gnome-documents" 73 ] "The corresponding package was removed from nixpkgs.") 74 (mkRemovedOptionModule [ 75 "programs" 76 "goldwarden" 77 ] "'goldwarden' has been removed from nixpkgs.") 78 (mkRemovedOptionModule [ "programs" "pantheon-tweaks" ] '' 79 pantheon-tweaks is no longer a switchboard plugin but an independent app, 80 adding the package to environment.systemPackages is sufficient. 81 '') 82 (mkRemovedOptionModule [ "programs" "thefuck" ] '' 83 The corresponding package was removed from nixpkgs, 84 consider using `programs.pay-respects` instead. 85 '') 86 (mkRemovedOptionModule [ "programs" "tilp2" ] "The corresponding package was removed from nixpkgs.") 87 (mkRemovedOptionModule [ "programs" "way-cooler" ] ( 88 "way-cooler is abandoned by its author: " 89 + "https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html" 90 )) 91 (mkRemovedOptionModule [ "programs" "yabar" ] 92 "programs.yabar has been removed from NixOS. This is because the yabar repository has been archived upstream." 93 ) 94 (mkRemovedOptionModule [ "security" "hideProcessInformation" ] '' 95 The hidepid module was removed, since the underlying machinery 96 is broken when using cgroups-v2. 97 '') 98 (mkRemovedOptionModule [ "services" "antennas" ] 99 "The antennas package and the corresponding module have been removed as they only work with tvheadend, which nobody was willing to maintain and was stuck on an unmaintained version that required FFmpeg 4; please see https://github.com/NixOS/nixpkgs/pull/332259 if you are interested in maintaining a newer version." 100 ) 101 (mkRemovedOptionModule [ 102 "services" 103 "anbox" 104 ] "The corresponding package was removed from nixpkgs as it is not maintained upstream anymore.") 105 (mkRemovedOptionModule [ 106 "services" 107 "ankisyncd" 108 ] "`services.ankisyncd` has been replaced by `services.anki-sync-server`.") 109 (mkRemovedOptionModule [ 110 "services" 111 "baget" 112 "enable" 113 ] "The baget module was removed due to the upstream package being unmaintained.") 114 (mkRemovedOptionModule [ "services" "beegfs" ] "The BeeGFS module has been removed") 115 (mkRemovedOptionModule [ "services" "beegfsEnable" ] "The BeeGFS module has been removed") 116 (mkRemovedOptionModule [ 117 "services" 118 "cgmanager" 119 "enable" 120 ] "cgmanager was deprecated by lxc and therefore removed from nixpkgs.") 121 (mkRemovedOptionModule [ 122 "services" 123 "chatgpt-retrieval-plugin" 124 ] "The corresponding package was removed from nixpkgs.") 125 (mkRemovedOptionModule [ 126 "services" 127 "chronos" 128 ] "The corresponding package was removed from nixpkgs.") 129 (mkRemovedOptionModule [ 130 "services" 131 "clamsmtp" 132 ] "The corresponding package was removed from nixpkgs.") 133 (mkRemovedOptionModule [ "services" "confluence" ] 134 "Atlassian software has been removed, as support for the Atlassian Server products ended in February 2024 and there was insufficient interest in maintaining the Atlassian Data Center replacements" 135 ) 136 (mkRemovedOptionModule [ 137 "services" 138 "couchpotato" 139 ] "The corresponding package was removed from nixpkgs.") 140 (mkRemovedOptionModule [ "services" "crowd" ] 141 "Atlassian software has been removed, as support for the Atlassian Server products ended in February 2024 and there was insufficient interest in maintaining the Atlassian Data Center replacements" 142 ) 143 (mkRemovedOptionModule [ 144 "services" 145 "dd-agent" 146 ] "dd-agent was removed from nixpkgs in favor of the newer datadog-agent.") 147 (mkRemovedOptionModule [ 148 "services" 149 "deepin" 150 ] "the Deepin desktop environment has been removed from nixpkgs due to lack of maintenance.") 151 (mkRemovedOptionModule [ "services" "dnscrypt-wrapper" ] '' 152 The dnscrypt-wrapper module was removed since the project has been effectively unmaintained since 2018; 153 moreover the NixOS module had to rely on an abandoned version of dnscrypt-proxy v1 for the rotation of keys. 154 155 To wrap a resolver with DNSCrypt you can instead use dnsdist. See options `services.dnsdist.dnscrypt.*` 156 '') 157 (mkRemovedOptionModule [ 158 "services" 159 "exhibitor" 160 ] "The corresponding package was removed from nixpkgs.") 161 (mkRemovedOptionModule [ 162 "services" 163 "firefox" 164 "syncserver" 165 ] "The corresponding package was removed from nixpkgs.") 166 (mkRemovedOptionModule [ 167 "services" 168 "flashpolicyd" 169 ] "The flashpolicyd module has been removed. Adobe Flash Player is deprecated.") 170 (mkRemovedOptionModule [ "services" "fourStore" ] "The fourStore module has been removed") 171 (mkRemovedOptionModule [ 172 "services" 173 "fourStoreEndpoint" 174 ] "The fourStoreEndpoint module has been removed") 175 (mkRemovedOptionModule [ "services" "fprot" ] "The corresponding package was removed from nixpkgs.") 176 (mkRemovedOptionModule [ "services" "frab" ] "The frab module has been removed") 177 (mkRemovedOptionModule 178 [ 179 "services" 180 "grafana-agent" 181 ] 182 "The grafana-agent module has been removed. Consider migrating to `grafana-alloy` (`services.alloy.enable`). See <https://grafana.com/docs/alloy/latest/set-up/migrate/>" 183 ) 184 (mkRemovedOptionModule [ "services" "homeassistant-satellite" ] 185 "The `services.homeassistant-satellite` module has been replaced by `services.wyoming-satellite`." 186 ) 187 (mkRemovedOptionModule [ "services" "hydron" ] 188 "The `services.hydron` module has been removed as the project has been archived upstream since 2022 and is affected by a severe remote code execution vulnerability." 189 ) 190 (mkRemovedOptionModule [ 191 "services" 192 "ihatemoney" 193 ] "The ihatemoney module has been removed for lack of downstream maintainer") 194 (mkRemovedOptionModule [ "services" "jira" ] 195 "Atlassian software has been removed, as support for the Atlassian Server products ended in February 2024 and there was insufficient interest in maintaining the Atlassian Data Center replacements" 196 ) 197 (mkRemovedOptionModule [ "services" "kippo" ] "The corresponding package was removed from nixpkgs.") 198 (mkRemovedOptionModule [ "services" "lshd" ] 199 "The corresponding package was removed from nixpkgs as it had no maintainer in Nixpkgs and hasn't seen an upstream release in over a decades." 200 ) 201 (mkRemovedOptionModule [ 202 "services" 203 "mailpile" 204 ] "The corresponding package was removed from nixpkgs.") 205 (mkRemovedOptionModule [ 206 "services" 207 "marathon" 208 ] "The corresponding package was removed from nixpkgs.") 209 (mkRemovedOptionModule [ "services" "mathics" ] "The Mathics module has been removed") 210 (mkRemovedOptionModule [ "services" "matrix-sliding-sync" ] 211 "The matrix-sliding-sync package has been removed, since matrix-synapse incorporated its functionality. Remove `services.sliding-sync` from your NixOS Configuration, and the `.well-known` record for `org.matrix.msc3575.proxy` from your webserver" 212 ) 213 (mkRemovedOptionModule [ 214 "services" 215 "mx-puppet-discord" 216 ] "The corresponding package was removed from nixpkgs.") 217 (mkRemovedOptionModule [ "services" "meguca" ] "Use meguca has been removed from nixpkgs") 218 (mkRemovedOptionModule [ "services" "mesos" ] "The corresponding package was removed from nixpkgs.") 219 (mkRemovedOptionModule [ 220 "services" 221 "mxisd" 222 ] "The mxisd module has been removed as both mxisd and ma1sd got removed.") 223 (mkRemovedOptionModule [ 224 "services" 225 "moinmoin" 226 ] "The corresponding package was removed from nixpkgs.") 227 (mkRemovedOptionModule [ "services" "morty" ] 228 "services.morty has been removed from NixOS. As the morty package was unmaintained and removed and searxng, its main consumer, dropped support for it." 229 ) 230 (mkRemovedOptionModule [ "services" "mwlib" ] "The corresponding package was removed from nixpkgs.") 231 (mkRemovedOptionModule [ "services" "pantheon" "files" ] '' 232 This module was removed, please add pkgs.pantheon.elementary-files to environment.systemPackages directly. 233 '') 234 (mkRemovedOptionModule [ "services" "polipo" ] '' 235 The polipo project is unmaintained and archived upstream. 236 '') 237 (mkRemovedOptionModule [ "services" "prey" ] '' 238 prey-bash-client is deprecated upstream 239 '') 240 (mkRemovedOptionModule [ 241 "services" 242 "quagga" 243 ] "the corresponding package has been removed from nixpkgs") 244 (mkRemovedOptionModule [ 245 "services" 246 "railcar" 247 ] "the corresponding package has been removed from nixpkgs") 248 (mkRemovedOptionModule [ "services" "replay-sorcery" ] 249 "the corresponding package has been removed from nixpkgs as it is unmaintained upstream. Consider using `gpu-screen-recorder` or `obs-studio` instead." 250 ) 251 (mkRemovedOptionModule [ "services" "seeks" ] "") 252 (mkRemovedOptionModule [ 253 "services" 254 "shout" 255 ] "shout was removed because it was deprecated upstream in favor of thelounge.") 256 (mkRemovedOptionModule [ "services" "siproxd" ] '' 257 The siproxd package and the corresponding module have been removed due to 258 the service being unmaintained. `services.asterisk.*` or `services.freeswitch.*` 259 could be used instead. 260 '') 261 (mkRemovedOptionModule [ "services" "ssmtp" ] '' 262 The ssmtp package and the corresponding module have been removed due to 263 the program being unmaintained. The options `programs.msmtp.*` can be 264 used instead. 265 '') 266 (mkRemovedOptionModule [ "services" "sourcehut" ] '' 267 The sourcehut packages and the corresponding module have been removed due to being broken and unmaintained. 268 '') 269 (mkRemovedOptionModule [ "services" "tvheadend" ] 270 "The tvheadend package and the corresponding module have been removed as nobody was willing to maintain them and they were stuck on an unmaintained version that required FFmpeg 4; please see https://github.com/NixOS/nixpkgs/pull/332259 if you are interested in maintaining a newer version." 271 ) 272 (mkRemovedOptionModule [ "services" "unifi-video" ] 273 "The unifi-video package and the corresponding module have been removed as the software has been unsupported since 2021 and requires a MongoDB version that has reached end of life." 274 ) 275 (mkRemovedOptionModule [ "services" "venus" ] "The corresponding package was removed from nixpkgs.") 276 (mkRemovedOptionModule [ 277 "services" 278 "wakeonlan" 279 ] "This module was removed in favor of enabling it with networking.interfaces.<name>.wakeOnLan") 280 (mkRemovedOptionModule [ 281 "services" 282 "winstone" 283 ] "The corresponding package was removed from nixpkgs.") 284 (mkRemovedOptionModule [ "services" "xserver" "displayManager" "auto" ] '' 285 The services.xserver.displayManager.auto module has been removed 286 because it was only intended for use in internal NixOS tests, and gave the 287 false impression of it being a special display manager when it's actually 288 LightDM. Please use the services.displayManager.autoLogin options 289 instead, or any other display manager in NixOS as they all support auto-login. 290 '') 291 (mkRemovedOptionModule [ 292 "services" 293 "xserver" 294 "desktopManager" 295 "plasma5" 296 ] "the Plasma 5 desktop environment has been removed from nixpkgs, as it has reached EOL upstream.") 297 (mkRemovedOptionModule [ 298 "services" 299 "xserver" 300 "desktopManager" 301 "deepin" 302 ] "the Deepin desktop environment has been removed from nixpkgs due to lack of maintenance.") 303 (mkRemovedOptionModule [ "services" "xserver" "multitouch" ] '' 304 services.xserver.multitouch (which uses xf86_input_mtrack) has been removed 305 as the underlying package isn't being maintained. Working alternatives are 306 libinput and synaptics. 307 '') 308 (mkRemovedOptionModule [ 309 "services" 310 "xmr-stak" 311 ] "The corresponding package was removed from nixpkgs.") 312 (mkRemovedOptionModule [ 313 "virtualisation" 314 "rkt" 315 ] "The rkt module has been removed, it was archived by upstream") 316 (mkRemovedOptionModule [ "services" "racoon" ] '' 317 The racoon module has been removed, because the software project was abandoned upstream. 318 '') 319 (mkRemovedOptionModule [ 320 "services" 321 "shellinabox" 322 ] "The corresponding package was removed from nixpkgs.") 323 (mkRemovedOptionModule [ 324 "services" 325 "gogoclient" 326 ] "The corresponding package was removed from nixpkgs.") 327 (mkRemovedOptionModule [ 328 "services" 329 "virtuoso" 330 ] "The corresponding package was removed from nixpkgs.") 331 (mkRemovedOptionModule [ 332 "services" 333 "openfire" 334 ] "The corresponding package was removed from nixpkgs.") 335 (mkRemovedOptionModule [ "services" "riak" ] "The corresponding package was removed from nixpkgs.") 336 (mkRemovedOptionModule [ "services" "rtsp-simple-server" ] 337 "Package has been completely rebranded by upstream as mediamtx, and thus the service and the package were renamed in NixOS as well." 338 ) 339 (mkRemovedOptionModule [ 340 "services" 341 "prayer" 342 ] "The corresponding package was removed from nixpkgs.") 343 (mkRemovedOptionModule [ 344 "services" 345 "restya-board" 346 ] "The corresponding package was removed from nixpkgs.") 347 348 (mkRemovedOptionModule [ 349 "i18n" 350 "inputMethod" 351 "fcitx" 352 ] "The fcitx module has been removed. Please use fcitx5 instead") 353 (mkRemovedOptionModule [ "services" "dhcpd4" ] '' 354 The dhcpd4 module has been removed because ISC DHCP reached its end of life. 355 See https://www.isc.org/blogs/isc-dhcp-eol/ for details. 356 Please switch to a different implementation like kea or dnsmasq. 357 '') 358 (mkRemovedOptionModule [ "services" "dhcpd6" ] '' 359 The dhcpd6 module has been removed because ISC DHCP reached its end of life. 360 See https://www.isc.org/blogs/isc-dhcp-eol/ for details. 361 Please switch to a different implementation like kea or dnsmasq. 362 '') 363 (mkRemovedOptionModule [ "services" "gsignond" ] '' 364 The corresponding package was unmaintained, abandoned upstream, used outdated library and thus removed from nixpkgs. 365 '') 366 (mkRemovedOptionModule [ "services" "haka" ] '' 367 The corresponding package was broken and removed from nixpkgs. 368 '') 369 (mkRemovedOptionModule [ "services" "tedicross" ] '' 370 The corresponding package was broken and removed from nixpkgs. 371 '') 372 (mkRemovedOptionModule [ "services" "rippled" ] '' 373 The corresponding package was broken, abandoned upstream and thus removed from nixpkgs. 374 '') 375 (mkRemovedOptionModule [ "services" "rippleDataApi" ] '' 376 The corresponding package was broken, abandoned upstream and thus removed from nixpkgs. 377 '') 378 (mkRemovedOptionModule [ "services" "conduwuit" ] '' 379 The conduwuit project has been discontinued by upstream. 380 See https://github.com/NixOS/nixpkgs/pull/397902 for more information. 381 '') 382 (mkRemovedOptionModule [ "services" "signald" ] '' 383 The signald project is unmaintained and has long been incompatible with the 384 official Signal servers. 385 '') 386 (mkRemovedOptionModule [ "services" "private-gpt" ] '' 387 The private-gpt package and the corresponding module have been removed due to being broken and unmaintained. 388 '') 389 (mkRemovedOptionModule [ "services" "gateone" ] '' 390 The gateone module was removed since the package was removed alongside much other obsolete python 2. 391 '') 392 (mkRemovedOptionModule [ "virtualisation" "lxd" ] '' 393 LXD has been removed from NixOS due to lack of Nixpkgs maintenance. 394 Consider migrating or switching to Incus, or remove from your configuration. 395 https://linuxcontainers.org/incus/docs/main/howto/server_migrate_lxd/ 396 '') 397 # Do NOT add any option renames here, see top of the file 398 ]; 399}