geoclue2: remove extraneous appConfig where-am-i whitelisting

it's included by the default nixos service (which whitelists 'geoclue-demo-agent'
This commit is contained in:
Colin 2024-06-21 17:49:15 +00:00
parent a603c3e6bc
commit a6c48eda71

View File

@ -39,23 +39,6 @@ in
services.geoclue2 = lib.mkIf cfg.enabled {
enable = true;
geoProviderUrl = "http://127.0.0.1:8088/v1/geolocate"; #< ols
appConfig.geoclue-where-am-i = {
isAllowed = true;
isSystem = false;
users = [
# restrict to only one set of users. empty array (default) means "allow any user to access geolocation".
"1000"
];
};
appConfig.where-am-i = {
# TODO: i think this one is safe to remove
isAllowed = true;
isSystem = false;
users = [
# restrict to only one set of users. empty array (default) means "allow any user to access geolocation".
"1000"
];
};
};
systemd.user.services = lib.mkIf cfg.enabled {
# nixos services.geoclue2 runs the agent as a user service by default, but i don't use systemd so that doesn't work.