added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 7d4f626b7d
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{
osConfig,
pkgs,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.meta) getExe';
inherit (osConfig) modules;
sys = modules.system;
prg = sys.programs;
in {
config = mkIf prg.thunderbird.enable {
home.packages = with pkgs; [birdtray thunderbird];
programs.thunderbird = {
enable = true;
profiles."notashelf" = {
isDefault = true;
userChrome = "";
userContent = "";
withExternalGnupg = true;
};
};
/*
systemd.user.services = {
"birdtray" = {
Install.WantedBy = ["graphical-session.target"];
Service = {
ExecStart = "${getExe' pkgs.birdtray "birdtray"}";
Restart = "always";
# runtime
RuntimeDirectory = "ags";
ProtectSystem = "strict";
ProtectHome = "read-only";
};
Unit = {
Description = "mail system tray notification icon for Thunderbird ";
After = ["graphical-session-pre.target"];
PartOf = [
"tray.target"
"graphical-session.target"
];
};
};
};
*/
};
}

View file

@ -0,0 +1,49 @@
{lib, ...}: let
inherit (lib.generators) toJSON;
extensions = toJSON {} {
"default-theme@mozilla.org" = "5787f490-29b8-436e-a111-640da8590790";
"google@search.mozilla.org" = "cc340383-7068-4b32-a10f-9f19334bfebc";
"ddg@search.mozilla.org" = "0c340210-f7ab-48e8-9778-600ed5d00160";
"amazondotcom@search.mozilla.org" = "881d8fdf-5772-4e33-81ff-faac2d1fa92c";
"wikipedia@search.mozilla.org" = "7ea3d39d-3eea-430f-9bd7-f902d8124d45";
"bing@search.mozilla.org" = "f480cce8-68af-4082-908e-f8996153352b";
"addon@darkreader.org" = "71d6c69d-55f9-4c56-888c-abdcf6efd73d";
"lightningcalendartabs@jlx.84" = "12d48e41-412e-4d09-835a-fa6fb8c180eb";
};
in {
programs.thunderbird.profiles."notashelf".settings = {
"calendar.timezone.useSystemTimezone" = true;
"datareporting.healthreport.uploadEnabled" = false;
"extensions.ui.locale.hidden" = true;
"extensions.webextensions.ExtensionStorageIDB.migrated.addon@darkreader.org" = true;
"extensions.webextensions.uuids" = extensions;
"mail.account.lastKey" = 5;
"mail.close_message_window.on_delete.disabled" = false;
"mail.e2ee.auto_enable" = true;
"mail.imap.chunk_size" = 106496;
"mail.imap.min_chunk_size_threshold" = 159744;
"mail.mdn.report.enabled" = false;
"mail.openMessageBehavior.version" = 1;
"mail.pane_config.dynamic" = 2;
"mail.purge_threshhold_mb" = 20;
"mail.purge_threshold_migrated" = true;
"mail.spam.manualMark" = true;
"mail.spam.version" = 1;
"mail.startup.enabledMailCheckOnce" = true;
"mailnews.mark_message_read.delay" = true;
"mailnews.mark_message_read.delay.interval" = 3;
"mailnews.tags.$label1.color" = "#FF0000";
"mailnews.tags.$label1.tag" = "Important";
"mailnews.tags.$label2.color" = "#FF9900";
"mailnews.tags.$label2.tag" = "Work";
"mailnews.tags.$label3.color" = "#009900";
"mailnews.tags.$label3.tag" = "Personal";
"mailnews.tags.$label4.color" = "#3333FF";
"mailnews.tags.$label4.tag" = "To Do";
"mailnews.tags.$label5.color" = "#993399";
"mailnews.tags.$label5.tag" = "Later";
"pdfjs.enabledCache.state" = true;
"privacy.donottrackheader.enabled" = true;
"privacy.purge_trackers.date_in_cookie_database" = "0";
};
}