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 = "gammastep" ; 10programName = "Gammastep" ; 11# https://gitlab.com/chinstrap/gammastep/-/commit/1608ed61154cc652b087e85c4ce6125643e76e2f 12mainSection = "general" ; 13defaultPackage = pkgs . gammastep ; 14examplePackage = "pkgs.gammastep" ; 15mainExecutable = "gammastep" ; 16appletExecutable = "gammastep-indicator" ; 17xdgConfigFilePath = "gammastep/config.ini" ; 18serviceDocumentation = "https://gitlab.com/chinstrap/gammastep/" ; 19}; 20 21in { 22inherit ( commonOptions ) imports meta ; 23options . services . gammastep = commonOptions . options ; 24config = mkIf config . services . gammastep . enable commonOptions . config ; 25}