I am experimenting with moving my existing NixOS configuration from 23.05 to unstable. I’m using channels, not flakes, so to do this I switched to the unstable nixos channel and also added the unstable home-manager channel (previously I simply used fetchTarball for home-manager). Now, when I nixos-rebuild I see three instances of the following warning:
warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
Everything seems to work, so I could simply ignore this warning, but I’d rather know what’s causing it. My best guess is that it involves generating documentation for new options in my config files. I have four instances of lib.mkOption, and I’m curious if maybe the correct usage of that has changed since 23.05.
Example:
options = {
identity = lib.mkOption {
type = lib.types.attrsOf lib.types.anything;
description = ''
Attribute set for describing the user's identity. The following four
keys are all required: username, fullname, email, hostname.'';
example = ''
{
username = "john";
fullname = "John Simonson";
email = "john@simonson.com";
hostname = "nixos";
};'';
};
};
Thanks.