aboutsummaryrefslogtreecommitdiff
path: root/profiles/noLocation.nix
blob: 83563df5434eb74691c0b007f382f717b2907bd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ ffLib }: {
  meta.description = ''
    Forbid requests for the users precise location.
    The remote end will still be able to look up the users IP address in a database, for
    an approximate location.
  '';

  policies = {
    Permissions.Location = {
      BlockNewRequests = true;
      Locked = true;
    };

    Preferences = ffLib.flattenAttrs {
      geo.enabled = false;
    };
  };
}