git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/redshift: Add rename for provider option

This was an oversight in https://github.com/NixOS/nixpkgs/pull/64309 resulting it backwards incompatibilities

commite686b39288ed84be08a878175300c05929a049d3 authorSilvan Mosberger <infinisil@icloud.com> dateSun 15 Sep 2019, 18:26 (7 years ago) parentecf5f85
1 file changed+1
nixos/modules/services/x11/redshift.nix+1
nixos/modules/services/x11/redshift.nix+1
@@ -22,6 +22,7 @@ in {
2222 in if value == null then
2323 throw "services.redshift.longitude is set to null, you can remove this"
2424 else builtins.fromJSON value))
25+ (mkRenamedOptionModule [ "services" "redshift" "provider" ] [ "location" "provider" ])
2526 ];
2627
2728 options.services.redshift = {