1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 13:01:09 +01:00
home-manager/modules/services/redshift-gammastep/gammastep.nix
Austin Horstman 82ee14ff60
treewide: remove with lib (#6871)
Remove from services.
2025-04-21 11:00:59 -05:00

28 lines
756 B
Nix

{
config,
lib,
pkgs,
...
}:
let
commonOptions = import ./lib/options.nix {
inherit config lib pkgs;
moduleName = "gammastep";
programName = "Gammastep";
# https://gitlab.com/chinstrap/gammastep/-/commit/1608ed61154cc652b087e85c4ce6125643e76e2f
mainSection = "general";
defaultPackage = pkgs.gammastep;
examplePackage = "pkgs.gammastep";
mainExecutable = "gammastep";
appletExecutable = "gammastep-indicator";
xdgConfigFilePath = "gammastep/config.ini";
serviceDocumentation = "https://gitlab.com/chinstrap/gammastep/";
};
in
{
inherit (commonOptions) imports meta;
options.services.gammastep = commonOptions.options;
config = lib.mkIf config.services.gammastep.enable commonOptions.config;
}