nixos/redshift: Add rename for provider option

This was an oversight in https://github.com/NixOS/nixpkgs/pull/64309
resulting it backwards incompatibilities
This commit is contained in:
Silvan Mosberger 2019-09-15 18:26:53 +02:00
parent ecf5f85a81
commit e686b39288
No known key found for this signature in database
GPG Key ID: 9424360B4B85C9E7

View File

@ -22,6 +22,7 @@ in {
in if value == null then
throw "services.redshift.longitude is set to null, you can remove this"
else builtins.fromJSON value))
(mkRenamedOptionModule [ "services" "redshift" "provider" ] [ "location" "provider" ])
];
options.services.redshift = {