2023-04-10 15:12:45 +02:00
|
|
|
{ config, lib, ... }:
|
2023-04-09 19:26:03 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.my.services.gammastep;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.my.services.gammastep.enable = mkEnableOption "gammastep";
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
home-manager.users.moritz.services.gammastep = {
|
|
|
|
enable = true;
|
|
|
|
latitude = 52.3;
|
|
|
|
longitude = 12.4;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|