btw i use nix
1{
2 pkgs,
3 config,
4 lib,
5 ...
6}@inputs:
7
8let
9 cfg = config.custom;
10in
11{
12 options.custom.workstation = lib.mkEnableOption "custom";
13
14 config = lib.mkIf cfg.workstation {
15 services.localtimed.enable = true;
16 services.geoclue2 = {
17 enable = true;
18 geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
19 };
20 };
21}