-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/redshift: use config file instead of passing parameters
Not every option is exposed by redshift/gammastep parameters, for example gamma options are only exposed in configuration file. So this PR refactors this module to generate a configuration file and pass it to the redshift/gammastep using -c parameter. Also, it implements fade/gamma options not available in the previous version of this module (since it was not exposed by parameters). This is a slightly breaking change, since extraOptions was renamed to extraConfig and now accept a attribute set instead of a list of strings.
- Loading branch information
1 parent
be104bf
commit 460e276
Showing
1 changed file
with
86 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters