mirror of
https://github.com/nix-community/home-manager
synced 2025-01-04 09:19:04 +00:00
bdee1be7b3
Manual latitude and longitude setting doesn't work in Redshift.
This reverts commit dd6ee694df
.
22 lines
540 B
Nix
22 lines
540 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
commonOptions = import ./lib/options.nix {
|
|
inherit config lib;
|
|
|
|
moduleName = "redshift";
|
|
programName = "Redshift";
|
|
defaultPackage = pkgs.redshift;
|
|
examplePackage = "pkgs.redshift";
|
|
mainExecutable = "redshift";
|
|
appletExecutable = "redshift-gtk";
|
|
serviceDocumentation = "http://jonls.dk/redshift/";
|
|
};
|
|
|
|
in {
|
|
meta = commonOptions.meta;
|
|
options.services.redshift = commonOptions.options;
|
|
config = mkIf config.services.redshift.enable commonOptions.config;
|
|
}
|