about summary refs log tree commit diff
path: root/modules/nixos/profiles
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-04 16:52:03 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-04 16:52:03 +0300
commit5da01d688fcfd4d1956197f7b7f9372e88687d05 (patch)
tree662647084b947301db091928c58f83ad74dbd232 /modules/nixos/profiles
parent2023-10-30 (diff)
2023-11-04
Diffstat (limited to '')
-rw-r--r--modules/nixos/profiles/headful.nix40
1 files changed, 2 insertions, 38 deletions
diff --git a/modules/nixos/profiles/headful.nix b/modules/nixos/profiles/headful.nix
index 6658582..938b711 100644
--- a/modules/nixos/profiles/headful.nix
+++ b/modules/nixos/profiles/headful.nix
@@ -12,6 +12,7 @@ in {
       chromium.enable = true;
       firefox.enable = true;
       sound.enable = true;
+      thunderbird.enable = true;
 
       nullmailer.enable = true;
 
@@ -30,43 +31,7 @@ in {
         tor-browser-bundle-bin
       ];
 
-      programs = {
-        bash.shellAliases.open = "xdg-open";
-
-        thunderbird = {
-          enable = true;
-          profiles.default = {
-            isDefault = true;
-            withExternalGnupg = true;
-          };
-          settings = {
-            "app.update.auto" = false;
-            "browser.display.document_color_use" = 2;
-            "browser.display.use_system_colors" = true;
-            "browser.search.region" = "US";
-            "browser.search.update" = false;
-            "datareporting.healthreport.uploadEnabled" = false;
-            "full-screen-api.warning.delay" = 0;
-            "full-screen-api.warning.timeout" = 0;
-            "general.autoScroll" = true;
-            "general.smoothScroll" = true;
-            "mail.default_send_format" = 0;
-            "mail.tabs.drawInTitlebar" =
-              if config.nixfiles.modules.kde.enable
-              then 1
-              else 0;
-            "mailnews.start_page.url" = "about:blank";
-            "media.autoplay.blocking_policy" = 2;
-            "media.autoplay.default" = 5;
-            "media.autoplay.enabled" = false;
-            "media.hardwaremediakeys.enabled" = false;
-            "network.cookie.cookieBehavior" = 2;
-            "places.history.enabled" = false;
-            "reader.parse-on-load.enabled" = false;
-            "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
-          };
-        };
-      };
+      programs.bash.shellAliases.open = "xdg-open";
     };
 
     boot = {
@@ -104,7 +69,6 @@ in {
     };
 
     services = {
-      # https://github.com/NixOS/nixpkgs/issues/135888
       upower.enable = true;
 
       psd.enable = true;

Consider giving Nix/NixOS a try! <3