mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
14 lines
388 B
Nix
14 lines
388 B
Nix
{ lib, config, nixosConfig, ... }:
|
|
let
|
|
inherit (nixosConfig.repo.secrets.common.location) latitude longitude;
|
|
in
|
|
{
|
|
options.swarselsystems.modules.gammastep = lib.mkEnableOption "gammastep settings";
|
|
config = lib.mkIf config.swarselsystems.modules.gammastep {
|
|
services.gammastep = {
|
|
enable = true;
|
|
provider = "manual";
|
|
inherit longitude latitude;
|
|
};
|
|
};
|
|
}
|