nichts/nyx/modules/options/removed.nix
2024-04-09 23:11:33 +02:00

22 lines
908 B
Nix

{lib, ...}: let
inherit (lib) mkRemovedOptionModule;
in {
imports = [
(mkRemovedOptionModule ["modules" "services" "override"] ''
service overrides have been removed in favor of the new `modules.services.<name>.enable` syntax
'')
(mkRemovedOptionModule ["modules" "usrEnv" "noiseSuppressor"] ''
`modules.usrEnv.noiseSuppressor` has been removed as programs managed by the module
are better enabled manually and individually under `modules.system.programs.<name>.enable`
'')
/*
(mkRemovedOptionModule ["modules" "usrEnv" "isWayland"] ''
`isWayland` has been moved to the meta module as a read-only option that will be set internally
based on the desktop environments the host is running, and can no longer be set manually. Please
move to using `modules.usrEnv.desktop` and `modules.usrEnv.dektops.<name>.enable` instead.
'')
*/
];
}