mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add Thunderbird
This commit is contained in:
parent
5a6f1408c5
commit
9bd889b9a2
@ -11,5 +11,6 @@ in
|
||||
../../modules/git.home.nix
|
||||
../../modules/zsh.home.nix
|
||||
../../modules/nitrokey-ssh-gpg.home.nix
|
||||
../../modules/thunderbird.home.nix
|
||||
];
|
||||
}
|
||||
|
@ -11,5 +11,6 @@ in
|
||||
../../modules/git.home.nix
|
||||
../../modules/zsh.home.nix
|
||||
../../modules/nitrokey-ssh-gpg.home.nix
|
||||
../../modules/thunderbird.home.nix
|
||||
];
|
||||
}
|
||||
|
@ -39,7 +39,6 @@
|
||||
gnome.dconf-editor
|
||||
firefox
|
||||
tor-browser-bundle-bin
|
||||
thunderbird # email
|
||||
keepassxc # Password manager
|
||||
freetube # YouTube client
|
||||
veracrypt # Encrypted filesystem
|
||||
|
71
modules/thunderbird.home.nix
Normal file
71
modules/thunderbird.home.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/graphical/apps/thunderbird/default.nix
|
||||
# https://github.com/dr460nf1r3/dr460nixed/blob/main/home-manager/email.nix
|
||||
# https://github.com/yurrriq/dotfiles/blob/main/machines/nixps/home.nix
|
||||
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
accounts.email.accounts = {
|
||||
personal = {
|
||||
address = "daniel@systemli.org";
|
||||
gpg = {
|
||||
# The key to use as listed in gpg --list-keys.
|
||||
key = "94F3D3DDAC22802258FC044B6C47C753F0823002";
|
||||
signByDefault = true;
|
||||
};
|
||||
primary = true;
|
||||
realName = "Daniel Langbein";
|
||||
|
||||
userName = "daniel@systemli.org";
|
||||
imap = {
|
||||
host = "mail.systemli.org";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "mail.systemli.org";
|
||||
port = 465;
|
||||
};
|
||||
|
||||
# Enable the Thunderbird mail client for this email account.
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
isDefault = true;
|
||||
#userChrome = "";
|
||||
#userContent = "";
|
||||
withExternalGnupg = true;
|
||||
settings = {
|
||||
"mail.spellcheck.inline" = false;
|
||||
# Don't execute JavaScript from PDF files.
|
||||
"pdfjs.enableScripting" = false;
|
||||
# Use Paragraph format instead of Body Text by default = false
|
||||
"mail.compose.default_to_paragraph" = false;
|
||||
"privacy.donottrackheader.enabled" = true;
|
||||
# 1: Allow cookies from originating server only
|
||||
# https://kb.mozillazine.org/Network.cookie.cookieBehavior
|
||||
"network.cookie.cookieBehavior" = 1;
|
||||
# 2: Accept for session only
|
||||
# https://kb.mozillazine.org/Network.cookie.lifetimePolicy
|
||||
"network.cookie.lifetimePolicy" = 2;
|
||||
# When new messages arrive: Show an alert = false
|
||||
"mail.biff.show_alert" = false;
|
||||
# When new messages arrive: Play a sound = false
|
||||
"mail.biff.play_sound" = false;
|
||||
# Automatically mark messages as read = false
|
||||
"mailnews.mark_message_read.auto" = false;
|
||||
|
||||
# https://wiki.archlinux.org/index.php/Thunderbird#Change_the_default_sorting_order
|
||||
# Descending
|
||||
"mailnews.default_sort_order" = 2;
|
||||
# Threaded view
|
||||
"mailnews.default_view_flags" = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user