nixpkgs/nixos
Maximilian Bosch 957e368f3d
nixos/grafana: provision.{datasources,dashboards} can't be a list anymore
The hack with `either` had the side-effect that the sub-options of the
submodule didn't appear in the manual. I decided to remove this because
the "migration" isn't that hard, you just need to fix some module
declarations.

However, `mkRenamedOptionModule` wouldn't work here because it'd create
a "virtual" option for the deprecated path (i.e.
`services.grafana.provision.{datasources,dashboards}`), but that's the
already a new option, i.e. the submodule for the new stuff.

To make sure that you still get errors, I implemented a small hack using
`coercedTo` which throws an error if a list is specified (as it would be
done on 22.05) which explains what to do instead to make the migration
easier.

Also, I linkified the options in the manual now to make it easier to
navigate between those.
2022-11-20 18:21:35 +01:00
..
doc Merge pull request #201000 from drupol/php/8.2.0 2022-11-20 16:01:00 +01:00
lib test-driver: Allow configuring delay for send_{key,chars} 2022-11-19 06:55:25 +01:00
maintainers
modules nixos/grafana: provision.{datasources,dashboards} can't be a list anymore 2022-11-20 18:21:35 +01:00
tests nixos/grafana: provision.{datasources,dashboards} can't be a list anymore 2022-11-20 18:21:35 +01:00
COPYING
default.nix
README
release-combined.nix Merge pull request #197254 from Atemu/fstab-escape-options 2022-11-19 18:08:40 +01:00
release-small.nix nixos/release: add acme to tested set 2022-10-25 07:22:27 +10:00
release.nix nixos/release-combined: Build graphical ISOs for aarch64-linux 2022-10-11 15:33:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.