nixos/pantheon: allow disabling pantheon-agent-geoclue2

main
Bobby Rong 2 years ago
parent 1097e3e80c
commit 860781d909
No known key found for this signature in database
GPG Key ID: ED07364437C91161
  1. 7
      nixos/modules/services/x11/desktop-managers/pantheon.nix

@ -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 ];

Loading…
Cancel
Save