nixos/pantheon: allow disabling pantheon-agent-geoclue2
This commit is contained in:
parent
1097e3e80c
commit
860781d909
1 changed files with 3 additions and 4 deletions
|
@ -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…
Reference in a new issue