mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
23 lines
568 B
Nix
23 lines
568 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
commonOptions = import ./lib/options.nix {
|
||
|
inherit config lib;
|
||
|
|
||
|
moduleName = "gammastep";
|
||
|
programName = "Gammastep";
|
||
|
defaultPackage = pkgs.gammastep;
|
||
|
examplePackage = "pkgs.gammastep";
|
||
|
mainExecutable = "gammastep";
|
||
|
appletExecutable = "gammastep-indicator";
|
||
|
serviceDocumentation = "https://gitlab.com/chinstrap/gammastep/";
|
||
|
};
|
||
|
|
||
|
in {
|
||
|
meta = commonOptions.meta;
|
||
|
options.services.gammastep = commonOptions.options;
|
||
|
config = mkIf config.services.gammastep.enable commonOptions.config;
|
||
|
}
|