mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
16 lines
350 B
Nix
16 lines
350 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.myConfig.geoclue.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.myConfig.geoclue.enable {
|
|
services.geoclue2 = {
|
|
enable = true;
|
|
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
|
|
|
appConfig.gammastep = {
|
|
isAllowed = true;
|
|
isSystem = false;
|
|
};
|
|
};
|
|
};
|
|
}
|