mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat: protonmail-bridge & thunderbird
This commit is contained in:
parent
587224ef2d
commit
47db5ae80a
5 changed files with 40 additions and 2 deletions
27
nixcfgs/modules/nixos/programs/thunderbird.nix
Normal file
27
nixcfgs/modules/nixos/programs/thunderbird.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{...}: {
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
policies = {
|
||||
DisableTelemetry = true;
|
||||
ExtensionSettings = with builtins; let
|
||||
extension = short: uuid: {
|
||||
name = uuid;
|
||||
value = {
|
||||
install_url = "https://addons.thunderbird.net/downloads/latest/addon-${short}-latest.xpi";
|
||||
installation_mode = "normal_installed";
|
||||
};
|
||||
};
|
||||
in
|
||||
listToAttrs [
|
||||
(extension "988699" "thunderai@micz.it") # ThunderAI
|
||||
(extension "988018" "addon@darkreader.org") # Dark Reader
|
||||
(extension "987885" "tbkeys-lite@addons.thunderbird.net") # TBKeys Lite
|
||||
(extension "988342" "external-editor-revived@tsundere.moe") # External Editor Revived
|
||||
];
|
||||
};
|
||||
preferences = {
|
||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||
"widget.use-xdg-desktop-portal.mime-handler" = 1;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue