mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
15 lines
304 B
Nix
15 lines
304 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.services.geoclue.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.services.geoclue.enable {
|
|
services.geoclue2 = {
|
|
enable = true;
|
|
|
|
appConfig.gammastep = {
|
|
isAllowed = true;
|
|
isSystem = false;
|
|
};
|
|
};
|
|
};
|
|
}
|