add nb config

This commit is contained in:
2023-08-20 14:14:14 +02:00
parent e1447458d7
commit e238280cfa
33 changed files with 938 additions and 724 deletions

View File

@@ -0,0 +1,40 @@
{ 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
];
}