fork/home-manager
git clone https://git.julia.blue/fork/home-manager
2e795f3e
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5let 6commonOptions = import ./lib/options.nix { 7inherit config lib pkgs ; 8 9moduleName = "redshift" ; 10programName = "Redshift" ; 11mainSection = "redshift" ; 12defaultPackage = pkgs . redshift ; 13examplePackage = "pkgs.redshift" ; 14mainExecutable = "redshift" ; 15appletExecutable = "redshift-gtk" ; 16xdgConfigFilePath = "redshift/redshift.conf" ; 17serviceDocumentation = "http://jonls.dk/redshift/" ; 18}; 19 20in { 21inherit ( commonOptions ) imports meta ; 22options . services . redshift = commonOptions . options ; 23config = mkIf config . services . redshift . enable commonOptions . config ; 24}