nixos/pantheon: allow disabling pantheon-agent-geoclue2

This commit is contained in:
Bobby Rong 2022-05-31 23:32:59 +08:00
parent 1097e3e80c
commit 860781d909
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -50,10 +50,6 @@ in
Note that this should be a last resort; patching the package is preferred (see GPaste).
'';
apply = list: list ++
[
pkgs.pantheon.pantheon-agent-geoclue2
];
};
extraWingpanelIndicators = mkOption {
@ -96,6 +92,9 @@ in
config = mkMerge [
(mkIf cfg.enable {
services.xserver.desktopManager.pantheon.sessionPath = utils.removePackagesByName [
pkgs.pantheon.pantheon-agent-geoclue2
] config.environment.pantheon.excludePackages;
services.xserver.displayManager.sessionPackages = [ pkgs.pantheon.elementary-session-settings ];