This fixes inherits and library functions usage, to inherit them explicitely at top level of the file.
23 lines
465 B
Nix
23 lines
465 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
in {
|
|
config = mkIf config.local.modules.hyprland.enable {
|
|
location.provider = "geoclue2";
|
|
|
|
services.geoclue2 = {
|
|
enable = true;
|
|
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
|
submissionUrl = "https://beacondb.net/v2/geosubmit";
|
|
submissionNick = "geoclue";
|
|
|
|
appConfig.gammastep = {
|
|
isAllowed = true;
|
|
isSystem = false;
|
|
};
|
|
};
|
|
};
|
|
}
|