Anthony Rodriguez
2b77ac239e
Moved every service in their own module, and conditionally enable them based on profiles.
21 lines
432 B
Nix
21 lines
432 B
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
config = lib.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;
|
|
};
|
|
};
|
|
};
|
|
}
|