about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-01-05 21:36:26 +0300
committerAzat Bahawi <azat@bahawi.net>2024-01-05 21:36:26 +0300
commit458e552a9da54b2bb40f3e5fd9091117ade5063c (patch)
tree52fe5c6a4286b42c13d2c698a93473a63ae43a18
parent2024-01-04 (diff)
2024-01-05
-rw-r--r--modules/common/emacs/default.nix3
-rw-r--r--modules/nixos/thunderbird.nix15
2 files changed, 11 insertions, 7 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix
index 6d1b549..7cd06e0 100644
--- a/modules/common/emacs/default.nix
+++ b/modules/common/emacs/default.nix
@@ -64,7 +64,6 @@ in {
                 extraBins = with pkgs;
                   [
                     (aspellWithDicts (p: with p; [en ru])) # :checkers (spell +aspell)
-                    # wordnet # :tools (lookup +dictionary +offline)
                     asmfmt # :editor format
                     cargo # :lang rust
                     clang-tools # :lang (cc +lsp) :editor format
@@ -114,6 +113,7 @@ in {
                     pandoc # :lang org markdown latex
                     pinentry-emacs # doom!
                     pipenv # :lang python
+                    poetry # :lang python
                     pre-commit # :tools magit
                     python3 # :lang python
                     python3Packages.black # :lang python :editor format
@@ -133,6 +133,7 @@ in {
                     texlab # lang (tex +lsp)
                     texlive.combined.scheme-full # :lang org tex
                     unzip # :tools debugger
+                    wordnet # :tools (lookup +dictionary +offline)
                     yaml-language-server # :lang (yaml +lsp)
                     zig # :lang zig :editor format
                     zls # :lang (zig +lsp)
diff --git a/modules/nixos/thunderbird.nix b/modules/nixos/thunderbird.nix
index e598e21..b5f360a 100644
--- a/modules/nixos/thunderbird.nix
+++ b/modules/nixos/thunderbird.nix
@@ -24,20 +24,20 @@ in {
           config.hm.programs.firefox.profiles.default.settings
           // {
             "app.donation.eoy.version.viewed" = 999;
+            "browser.display.background_color" = config.colourScheme.black;
+            "browser.display.background_color.dark" = config.colourScheme.black;
             "browser.display.document_color_use" = 2;
-            "browser.display.use_system_colors" = true;
-            "browser.fixup.alternate.enabled" = false;
-            "calendar.extract.service.enabled" = false;
-            "calendar.timezone.local" = "UTC";
-            "extensions.cardbook.useOnlyEmail" = true;
+            "browser.display.foreground_color" = config.colourScheme.white;
+            "browser.display.foreground_color.dark" = config.colourScheme.white;
             "javascript.enabled" = false;
             "mail.chat.enabled" = false;
             "mail.cloud_files.enabled" = false;
             "mail.collect_email_address_outgoing" = false;
             "mail.compose.add_link_preview" = false;
             "mail.compose.big_attachments.notify" = true;
-            "mail.compose.big_attachments.threshold_kb" = 9220;
+            "mail.compose.big_attachments.threshold_kb" = 10000;
             "mail.compose.warn_public_recipients.aggressive" = true;
+            "mail.compose.warn_public_recipients.threshold" = 15;
             "mail.default_send_format" = 1;
             "mail.html_compose" = false;
             "mail.html_sanitize.drop_conditional_css" = true;
@@ -53,6 +53,7 @@ in {
             "mail.provider.enabled" = false;
             "mail.rights.override" = true;
             "mail.sanitize_date_header" = true;
+            "mail.shell.checkDefaultClient" = false;
             "mail.showCondensedAddresses" = false;
             "mail.suppress_content_language" = true;
             "mailnews.auto_config.addons_url" = "";
@@ -78,6 +79,8 @@ in {
             "mailnews.start_page.enabled" = false;
             "mailnews.start_page.url" = "about:blank";
             "media.mediasource.enabled" = false;
+            "network.cookie.cookieBehavior" = 2;
+            "network.cookie.cookieBehavior.pbmode" = 2;
             "permissions.default.image" = 2;
             "places.history.enabled" = false;
             "pref.privacy.disable_button.cookie_exceptions" = false;

Consider giving Nix/NixOS a try! <3