nixos/extra/location.nix

27 lines
508 B
Nix
Raw Normal View History

2020-11-16 21:14:46 +01:00
{ config, lib, pkgs, ... }:
{
location.provider = "geoclue2";
2021-06-02 10:37:28 +02:00
services.geoclue2 = {
enable = true;
enableDemoAgent = true;
2020-11-16 21:14:46 +01:00
2021-06-02 10:37:28 +02:00
appConfig."gammastep" = {
desktopID = "gammastep";
isAllowed = true;
isSystem = false;
# Empty list allows all users
users = [ ];
};
appConfig."gammastep-indicator" = {
desktopID = "gammastep-indicator";
isAllowed = true;
isSystem = false;
# Empty list allows all users
users = [ ];
};
2020-11-16 21:14:46 +01:00
2021-06-02 10:37:28 +02:00
};
2020-11-16 21:14:46 +01:00
}