41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
|
|
{ pkgs, ... }:
|
|
let
|
|
thunderbirdWorkDesktopItem = pkgs.makeDesktopItem {
|
|
name = "thunderbird-work";
|
|
desktopName = "Thunderbird Work";
|
|
icon = "thunderbird";
|
|
exec = "thunderbird -p work";
|
|
};
|
|
thunderbirdCloonarDesktopItem = pkgs.makeDesktopItem {
|
|
name = "thunderbird-cloonar";
|
|
desktopName = "Thunderbird Cloonar";
|
|
icon = "thunderbird";
|
|
exec = "thunderbird -p cloonar";
|
|
};
|
|
in
|
|
{
|
|
|
|
# nixpkgs.overlays = [
|
|
# (self: super:
|
|
# {
|
|
# thunderbird-bin-unwrapped = super.thunderbird-bin-unwrapped.overrideAttrs ( old: rec {
|
|
# version = "112.0b7";
|
|
# name = "thunderbird-bin";
|
|
# src = super.fetchurl {
|
|
# url = "https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/${version}/linux-x86_64/en-US/thunderbird-${version}.tar.bz2";
|
|
# sha256 = "30d23df34834096a79261439d5ea6d78d44921f0218893f100596ee6296cd806";
|
|
# };
|
|
# });
|
|
# }
|
|
# )
|
|
# ];
|
|
environment.systemPackages = [
|
|
# (import ../../pkgs/thunderbird.nix)
|
|
pkgs.thunderbird
|
|
# pkgs.thunderbird-bin-unwrapped
|
|
thunderbirdWorkDesktopItem
|
|
thunderbirdCloonarDesktopItem
|
|
];
|
|
}
|