nixos/pantheon: Make it possible to exclude portals (#462218)
This commit is contained in:
@@ -207,9 +207,7 @@ in
|
|||||||
# Global environment
|
# Global environment
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
(with pkgs.pantheon; [
|
(with pkgs.pantheon; [
|
||||||
elementary-bluetooth-daemon
|
|
||||||
elementary-session-settings
|
elementary-session-settings
|
||||||
elementary-settings-daemon
|
|
||||||
gala
|
gala
|
||||||
gnome-settings-daemon
|
gnome-settings-daemon
|
||||||
(switchboard-with-plugs.override {
|
(switchboard-with-plugs.override {
|
||||||
@@ -242,8 +240,10 @@ in
|
|||||||
elementary-shortcut-overlay
|
elementary-shortcut-overlay
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
|
elementary-bluetooth-daemon
|
||||||
elementary-capnet-assist
|
elementary-capnet-assist
|
||||||
elementary-notifications
|
elementary-notifications
|
||||||
|
elementary-settings-daemon
|
||||||
pantheon-agent-geoclue2
|
pantheon-agent-geoclue2
|
||||||
pantheon-agent-polkit
|
pantheon-agent-polkit
|
||||||
])
|
])
|
||||||
@@ -258,14 +258,16 @@ in
|
|||||||
xdg.icons.enable = true;
|
xdg.icons.enable = true;
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
xdg.portal.extraPortals = [
|
xdg.portal.extraPortals = utils.removePackagesByName (
|
||||||
pkgs.xdg-desktop-portal-gtk
|
[
|
||||||
]
|
pkgs.xdg-desktop-portal-gtk
|
||||||
++ (with pkgs.pantheon; [
|
]
|
||||||
elementary-files
|
++ (with pkgs.pantheon; [
|
||||||
elementary-settings-daemon
|
elementary-files
|
||||||
xdg-desktop-portal-pantheon
|
elementary-settings-daemon
|
||||||
]);
|
xdg-desktop-portal-pantheon
|
||||||
|
])
|
||||||
|
) config.environment.pantheon.excludePackages;
|
||||||
|
|
||||||
xdg.portal.configPackages = mkDefault [ pkgs.pantheon.elementary-default-settings ];
|
xdg.portal.configPackages = mkDefault [ pkgs.pantheon.elementary-default-settings ];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user