2021-05-07 23:18:14 +02:00
|
|
|
{ config, pkgs, lib, gnome }:
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
lib.makeScope pkgs.newScope (self: with self; {
|
|
|
|
|
|
|
|
switchboardPlugs = [
|
2021-12-18 04:03:45 +01:00
|
|
|
switchboard-plug-a11y
|
|
|
|
switchboard-plug-about
|
|
|
|
switchboard-plug-applications
|
|
|
|
switchboard-plug-bluetooth
|
|
|
|
switchboard-plug-datetime
|
|
|
|
switchboard-plug-display
|
|
|
|
switchboard-plug-keyboard
|
|
|
|
switchboard-plug-mouse-touchpad
|
|
|
|
switchboard-plug-network
|
|
|
|
switchboard-plug-notifications
|
|
|
|
switchboard-plug-onlineaccounts
|
|
|
|
switchboard-plug-pantheon-shell
|
|
|
|
switchboard-plug-power
|
|
|
|
switchboard-plug-printers
|
|
|
|
switchboard-plug-security-privacy
|
|
|
|
switchboard-plug-sharing
|
|
|
|
switchboard-plug-sound
|
|
|
|
switchboard-plug-wacom
|
2018-08-20 22:31:18 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
wingpanelIndicators = [
|
2021-12-18 04:03:45 +01:00
|
|
|
wingpanel-applications-menu
|
|
|
|
wingpanel-indicator-a11y
|
|
|
|
wingpanel-indicator-bluetooth
|
|
|
|
wingpanel-indicator-datetime
|
|
|
|
wingpanel-indicator-keyboard
|
|
|
|
wingpanel-indicator-network
|
|
|
|
wingpanel-indicator-nightlight
|
|
|
|
wingpanel-indicator-notifications
|
|
|
|
wingpanel-indicator-power
|
|
|
|
wingpanel-indicator-session
|
2021-08-02 15:11:31 +02:00
|
|
|
wingpanel-indicator-sound
|
2018-08-20 22:31:18 +02:00
|
|
|
];
|
|
|
|
|
2021-08-02 02:46:24 +02:00
|
|
|
maintainers = lib.teams.pantheon.members;
|
2018-08-20 22:31:18 +02:00
|
|
|
|
2021-07-17 11:59:44 +02:00
|
|
|
mutter = pkgs.gnome.mutter338;
|
2018-08-20 22:31:18 +02:00
|
|
|
|
2021-07-18 14:28:38 +02:00
|
|
|
# Using 3.38 to match Mutter used in Pantheon
|
|
|
|
gnome-settings-daemon = pkgs.gnome.gnome-settings-daemon338;
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-gsettings-schemas = callPackage ./desktop/elementary-gsettings-schemas { };
|
|
|
|
|
2021-09-13 16:31:04 +02:00
|
|
|
touchegg = pkgs.touchegg.override { withPantheon = true; };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
#### APPS
|
|
|
|
|
2019-10-02 03:50:07 +02:00
|
|
|
appcenter = callPackage ./apps/appcenter { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-calculator = callPackage ./apps/elementary-calculator { };
|
|
|
|
|
|
|
|
elementary-calendar = callPackage ./apps/elementary-calendar { };
|
|
|
|
|
|
|
|
elementary-camera = callPackage ./apps/elementary-camera { };
|
|
|
|
|
|
|
|
elementary-code = callPackage ./apps/elementary-code { };
|
|
|
|
|
2020-03-29 00:49:48 +01:00
|
|
|
elementary-dock = callPackage ./apps/elementary-dock { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-files = callPackage ./apps/elementary-files { };
|
|
|
|
|
2019-09-18 23:10:32 +02:00
|
|
|
elementary-feedback = callPackage ./apps/elementary-feedback { };
|
|
|
|
|
2021-06-21 18:49:39 +02:00
|
|
|
elementary-mail = callPackage ./apps/elementary-mail { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-music = callPackage ./apps/elementary-music { };
|
|
|
|
|
|
|
|
elementary-photos = callPackage ./apps/elementary-photos { };
|
|
|
|
|
2021-07-21 06:02:01 +02:00
|
|
|
elementary-screenshot = callPackage ./apps/elementary-screenshot { };
|
2018-08-20 22:31:18 +02:00
|
|
|
|
2021-07-20 04:34:28 +02:00
|
|
|
elementary-tasks = callPackage ./apps/elementary-tasks { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-terminal = callPackage ./apps/elementary-terminal { };
|
|
|
|
|
|
|
|
elementary-videos = callPackage ./apps/elementary-videos { };
|
|
|
|
|
2021-08-13 15:46:21 +02:00
|
|
|
epiphany = pkgs.epiphany.override { withPantheon = true; };
|
|
|
|
|
2021-10-07 05:44:21 +02:00
|
|
|
evince = pkgs.evince.override { withPantheon = true; };
|
|
|
|
|
2021-10-21 11:07:23 +02:00
|
|
|
file-roller = pkgs.gnome.file-roller.override { withPantheon = true; };
|
|
|
|
|
2019-10-02 04:14:43 +02:00
|
|
|
sideload = callPackage ./apps/sideload { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
#### DESKTOP
|
|
|
|
|
|
|
|
elementary-default-settings = callPackage ./desktop/elementary-default-settings { };
|
|
|
|
|
2019-03-18 13:39:16 +01:00
|
|
|
elementary-greeter = callPackage ./desktop/elementary-greeter { };
|
2018-08-20 22:31:18 +02:00
|
|
|
|
2019-09-18 23:12:00 +02:00
|
|
|
elementary-onboarding = callPackage ./desktop/elementary-onboarding { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-print-shim = callPackage ./desktop/elementary-print-shim { };
|
|
|
|
|
|
|
|
elementary-session-settings = callPackage ./desktop/elementary-session-settings {
|
2021-05-07 23:18:14 +02:00
|
|
|
inherit (gnome) gnome-session gnome-keyring;
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
elementary-shortcut-overlay = callPackage ./desktop/elementary-shortcut-overlay { };
|
|
|
|
|
2021-12-01 15:26:26 +01:00
|
|
|
file-roller-contract = callPackage ./desktop/file-roller-contract {
|
|
|
|
inherit (gnome) file-roller;
|
|
|
|
};
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
gala = callPackage ./desktop/gala {
|
2021-05-07 23:18:14 +02:00
|
|
|
inherit (gnome) gnome-desktop;
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
2021-12-01 15:37:27 +01:00
|
|
|
gnome-bluetooth-contract = callPackage ./desktop/gnome-bluetooth-contract {
|
|
|
|
inherit (gnome) gnome-bluetooth;
|
|
|
|
};
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
wingpanel = callPackage ./desktop/wingpanel { };
|
|
|
|
|
|
|
|
wingpanel-with-indicators = callPackage ./desktop/wingpanel/wrapper.nix {
|
|
|
|
indicators = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
#### LIBRARIES
|
|
|
|
|
|
|
|
granite = callPackage ./granite { };
|
|
|
|
|
|
|
|
#### SERVICES
|
|
|
|
|
|
|
|
contractor = callPackage ./services/contractor { };
|
|
|
|
|
|
|
|
elementary-capnet-assist = callPackage ./services/elementary-capnet-assist { };
|
|
|
|
|
2020-03-29 01:58:15 +01:00
|
|
|
elementary-notifications = callPackage ./services/elementary-notifications { };
|
|
|
|
|
2021-07-18 14:33:27 +02:00
|
|
|
elementary-settings-daemon = callPackage ./services/elementary-settings-daemon { };
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
pantheon-agent-geoclue2 = callPackage ./services/pantheon-agent-geoclue2 { };
|
|
|
|
|
|
|
|
pantheon-agent-polkit = callPackage ./services/pantheon-agent-polkit { };
|
|
|
|
|
2021-12-18 03:52:35 +01:00
|
|
|
xdg-desktop-portal-pantheon = callPackage ./services/xdg-desktop-portal-pantheon { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
#### WINGPANEL INDICATORS
|
|
|
|
|
|
|
|
wingpanel-applications-menu = callPackage ./desktop/wingpanel-indicators/applications-menu { };
|
|
|
|
|
2021-08-02 15:11:31 +02:00
|
|
|
wingpanel-indicator-a11y = callPackage ./desktop/wingpanel-indicators/a11y { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
wingpanel-indicator-bluetooth = callPackage ./desktop/wingpanel-indicators/bluetooth { };
|
|
|
|
|
|
|
|
wingpanel-indicator-datetime = callPackage ./desktop/wingpanel-indicators/datetime { };
|
|
|
|
|
|
|
|
wingpanel-indicator-keyboard = callPackage ./desktop/wingpanel-indicators/keyboard { };
|
|
|
|
|
2019-12-11 12:12:48 +01:00
|
|
|
wingpanel-indicator-network = callPackage ./desktop/wingpanel-indicators/network { };
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
wingpanel-indicator-nightlight = callPackage ./desktop/wingpanel-indicators/nightlight { };
|
|
|
|
|
|
|
|
wingpanel-indicator-notifications = callPackage ./desktop/wingpanel-indicators/notifications { };
|
|
|
|
|
|
|
|
wingpanel-indicator-power = callPackage ./desktop/wingpanel-indicators/power { };
|
|
|
|
|
|
|
|
wingpanel-indicator-session = callPackage ./desktop/wingpanel-indicators/session { };
|
|
|
|
|
|
|
|
wingpanel-indicator-sound = callPackage ./desktop/wingpanel-indicators/sound { };
|
|
|
|
|
|
|
|
#### SWITCHBOARD
|
|
|
|
|
|
|
|
switchboard = callPackage ./apps/switchboard { };
|
|
|
|
|
|
|
|
switchboard-with-plugs = callPackage ./apps/switchboard/wrapper.nix {
|
|
|
|
plugs = null;
|
|
|
|
};
|
|
|
|
|
|
|
|
switchboard-plug-a11y = callPackage ./apps/switchboard-plugs/a11y { };
|
|
|
|
|
|
|
|
switchboard-plug-about = callPackage ./apps/switchboard-plugs/about { };
|
|
|
|
|
|
|
|
switchboard-plug-applications = callPackage ./apps/switchboard-plugs/applications { };
|
|
|
|
|
|
|
|
switchboard-plug-bluetooth = callPackage ./apps/switchboard-plugs/bluetooth { };
|
|
|
|
|
|
|
|
switchboard-plug-datetime = callPackage ./apps/switchboard-plugs/datetime { };
|
|
|
|
|
|
|
|
switchboard-plug-display = callPackage ./apps/switchboard-plugs/display { };
|
|
|
|
|
|
|
|
switchboard-plug-keyboard = callPackage ./apps/switchboard-plugs/keyboard { };
|
|
|
|
|
|
|
|
switchboard-plug-mouse-touchpad = callPackage ./apps/switchboard-plugs/mouse-touchpad { };
|
|
|
|
|
2019-12-11 12:12:48 +01:00
|
|
|
switchboard-plug-network = callPackage ./apps/switchboard-plugs/network { };
|
2018-08-20 22:31:18 +02:00
|
|
|
|
|
|
|
switchboard-plug-notifications = callPackage ./apps/switchboard-plugs/notifications { };
|
|
|
|
|
|
|
|
switchboard-plug-onlineaccounts = callPackage ./apps/switchboard-plugs/onlineaccounts { };
|
|
|
|
|
|
|
|
switchboard-plug-pantheon-shell = callPackage ./apps/switchboard-plugs/pantheon-shell {
|
2021-05-07 23:18:14 +02:00
|
|
|
inherit (gnome) gnome-desktop;
|
2018-08-20 22:31:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
switchboard-plug-power = callPackage ./apps/switchboard-plugs/power { };
|
|
|
|
|
|
|
|
switchboard-plug-printers = callPackage ./apps/switchboard-plugs/printers { };
|
|
|
|
|
|
|
|
switchboard-plug-security-privacy = callPackage ./apps/switchboard-plugs/security-privacy { };
|
|
|
|
|
|
|
|
switchboard-plug-sharing = callPackage ./apps/switchboard-plugs/sharing { };
|
|
|
|
|
|
|
|
switchboard-plug-sound = callPackage ./apps/switchboard-plugs/sound { };
|
|
|
|
|
2021-07-28 04:39:23 +02:00
|
|
|
switchboard-plug-wacom = callPackage ./apps/switchboard-plugs/wacom { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
### ARTWORK
|
|
|
|
|
|
|
|
elementary-gtk-theme = callPackage ./artwork/elementary-gtk-theme { };
|
|
|
|
|
|
|
|
elementary-icon-theme = callPackage ./artwork/elementary-icon-theme { };
|
|
|
|
|
2019-03-01 00:47:30 +01:00
|
|
|
elementary-redacted-script = callPackage ./artwork/elementary-redacted-script { };
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
elementary-sound-theme = callPackage ./artwork/elementary-sound-theme { };
|
|
|
|
|
|
|
|
elementary-wallpapers = callPackage ./artwork/elementary-wallpapers { };
|
|
|
|
|
2021-12-18 04:03:45 +01:00
|
|
|
### THIRD-PARTY
|
|
|
|
|
|
|
|
# Put packages that ONLY works with Pantheon in pkgs/desktops/pantheon/third-party,
|
2021-12-19 02:41:47 +01:00
|
|
|
# specifically third party switchboard plugins and wingpanel indicators.
|
2021-12-18 04:03:45 +01:00
|
|
|
# Please call these packages in pkgs/top-level/all-packages.nix instead of this file.
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/115222#issuecomment-906868654
|
|
|
|
|
2019-10-31 23:23:13 +01:00
|
|
|
} // lib.optionalAttrs (config.allowAliases or true) {
|
|
|
|
|
2019-10-10 17:17:40 +02:00
|
|
|
### ALIASES
|
|
|
|
|
2020-07-26 21:30:17 +02:00
|
|
|
inherit (pkgs) vala; # added 2019-10-10
|
|
|
|
|
2020-03-29 00:38:33 +01:00
|
|
|
cerbere = throw "Cerbere is now obsolete https://github.com/elementary/cerbere/releases/tag/2.5.1.";
|
|
|
|
|
2021-07-21 06:02:01 +02:00
|
|
|
elementary-screenshot-tool = elementary-screenshot; # added 2021-07-21
|
|
|
|
|
2021-12-01 15:39:43 +01:00
|
|
|
extra-elementary-contracts = throw "extra-elementary-contracts has been removed as all contracts have been upstreamed."; # added 2021-12-01
|
|
|
|
|
2021-09-23 11:28:24 +02:00
|
|
|
inherit (pkgs) notes-up; # added 2021-12-18
|
|
|
|
|
2018-08-20 22:31:18 +02:00
|
|
|
})
|