2023-08-02 07:15:33 +00:00
|
|
|
{ pkgs, ... }:
|
2023-08-02 10:49:44 +00:00
|
|
|
let
|
|
|
|
chattyNoOauth = pkgs.chatty.override {
|
|
|
|
# the OAuth feature (presumably used for web-based logins) pulls a full webkitgtk.
|
|
|
|
# especially when using the gtk3 version of evolution-data-server, it's an ancient webkitgtk_4_1.
|
|
|
|
# disable OAuth for a faster build & smaller closure
|
|
|
|
evolution-data-server = pkgs.evolution-data-server.override {
|
|
|
|
enableOAuth2 = false;
|
|
|
|
gnome-online-accounts = pkgs.gnome-online-accounts.override {
|
|
|
|
# disables the upstream "goabackend" feature -- presumably "Gnome Online Accounts Backend"
|
|
|
|
# frees us from webkit_4_1, in turn.
|
|
|
|
enableBackend = false;
|
2023-08-02 20:30:06 +00:00
|
|
|
gvfs = pkgs.gvfs.override {
|
|
|
|
# saves 20 minutes of build time, for unused feature
|
|
|
|
samba = null;
|
|
|
|
};
|
2023-08-02 10:49:44 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
chatty-latest = pkgs.chatty-latest.override {
|
|
|
|
evolution-data-server-gtk4 = pkgs.evolution-data-server-gtk4.override {
|
|
|
|
gnome-online-accounts = pkgs.gnome-online-accounts.override {
|
|
|
|
# disables the upstream "goabackend" feature -- presumably "Gnome Online Accounts Backend"
|
|
|
|
# frees us from webkit_4_1, in turn.
|
|
|
|
enableBackend = false;
|
2023-08-02 20:30:06 +00:00
|
|
|
gvfs = pkgs.gvfs.override {
|
|
|
|
# saves 20 minutes of build time, for unused feature
|
|
|
|
samba = null;
|
|
|
|
};
|
2023-08-02 07:15:33 +00:00
|
|
|
};
|
|
|
|
};
|
2023-08-02 10:49:44 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
sane.programs.chatty = {
|
|
|
|
# package = chattyNoOauth;
|
|
|
|
package = chatty-latest;
|
2023-08-02 07:40:57 +00:00
|
|
|
suggestedPrograms = [ "gnome-keyring" ];
|
2023-08-02 11:36:49 +00:00
|
|
|
persist.private = [
|
|
|
|
".local/share/chatty" # matrix avatars and files
|
|
|
|
# ".purple" # XMPP stuff
|
|
|
|
];
|
2023-08-02 07:15:33 +00:00
|
|
|
};
|
|
|
|
}
|