diff options
author | Silvan Mosberger <infinisil@icloud.com> | 2019-09-15 18:26:53 +0200 |
---|---|---|
committer | Silvan Mosberger <infinisil@icloud.com> | 2019-09-15 18:26:53 +0200 |
commit | e686b39288ed84be08a878175300c05929a049d3 (patch) | |
tree | 0844fb391af3c3eb2936667e0bef79d72f778fe5 /nixos | |
parent | ecf5f85a81d9ddd5a5c40eabb0e8fba3c8ed7481 (diff) |
nixos/redshift: Add rename for provider option
This was an oversight in https://github.com/NixOS/nixpkgs/pull/64309 resulting it backwards incompatibilities
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/x11/redshift.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix index 048cc16263da1..21b0b33553acc 100644 --- a/nixos/modules/services/x11/redshift.nix +++ b/nixos/modules/services/x11/redshift.nix @@ -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 = { |