aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/clamav.nix17
-rw-r--r--modules/thunderbird/default.nix32
2 files changed, 49 insertions, 0 deletions
diff --git a/modules/clamav.nix b/modules/clamav.nix
new file mode 100644
index 0000000..6640a83
--- /dev/null
+++ b/modules/clamav.nix
@@ -0,0 +1,17 @@
+{ pkgs, ... }: {
+ services.clamav = {
+ daemon.enable = true;
+ scanner = {
+ enable = true;
+ interval = "Sun *-*-* 12:00:00";
+ # scanDirectories = [
+ # "/home"
+ # "/var/lib"
+ # "/tmp"
+ # "/etc"
+ # "/var/tmp"
+ # ];
+ };
+ updater.enable = false;
+ };
+}
diff --git a/modules/thunderbird/default.nix b/modules/thunderbird/default.nix
new file mode 100644
index 0000000..b4ba152
--- /dev/null
+++ b/modules/thunderbird/default.nix
@@ -0,0 +1,32 @@
+{ config, pkgs, lib, ... }:
+let
+ thunderbird = pkgs.thunderbird-latest;
+
+ extensions = [
+ # Theme
+ # "https://addons.thunderbird.net/thunderbird/downloads/latest/dracula-theme-for-thunderbird/addon-987962-latest.xpi"
+ # "https://addons.thunderbird.net/thunderbird/downloads/latest/luminous-matter/addon-988120-latest.xpi"
+ "https://addons.thunderbird.net/thunderbird/downloads/latest/dark-black-theme/addon-988343-latest.xpi"
+
+ "https://addons.thunderbird.net/thunderbird/downloads/latest/grammar-and-spell-checker/addon-988138-latest.xpi"
+ # "https://addons.thunderbird.net/thunderbird/downloads/latest/external-editor-revived/addon-988342-latest.xpi"
+ ];
+
+ policies = {
+ Extensions.Install = extensions;
+ };
+
+ preferences = {
+ # "general.useragent.override" = "";
+ # "mail.spellcheck.inline" = true;
+ "privacy.donottrackheader.enabled" = true;
+ };
+in {
+ programs.thunderbird = {
+ enable = true;
+ package = thunderbird;
+ policies = policies;
+ preferencesStatus = "default";
+ preferences = preferences;
+ };
+}