diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-01-09 17:27:17 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-01-09 17:27:17 +0530 |
| commit | 27138ae14a46729714499e2e605e0313c8c2c8be (patch) | |
| tree | 7859c46654cd7badcf1f2caa31fd82e1c6711e76 | |
| parent | 00e0b6fb7fe7c1ef33df55cdb44e96fec06e006e (diff) | |
| download | nixos-config-27138ae14a46729714499e2e605e0313c8c2c8be.tar.gz nixos-config-27138ae14a46729714499e2e605e0313c8c2c8be.zip | |
Add clamav and move thunderbird config to use module
| -rw-r--r-- | configuration.nix | 8 | ||||
| -rw-r--r-- | modules/clamav.nix | 17 | ||||
| -rw-r--r-- | modules/thunderbird/default.nix | 32 | ||||
| -rwxr-xr-x | packages/dwm/autostart.sh | 1 |
4 files changed, 56 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix index 9a25cf2..b5e1eef 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,6 +15,8 @@ ./modules/work.nix ./modules/keyboard/default.nix ./modules/jackett.nix + ./modules/thunderbird/default.nix + ./modules/clamav.nix ]; nixpkgs.config = { @@ -144,12 +146,14 @@ }; }; fonts.packages = with pkgs; [ - # jetbrains-mono - (nerdfonts.override { fonts = [ "JetBrainsMono" "FiraCode" "FiraMono" ]; }) + nerd-fonts.jetbrains-mono + nerd-fonts.fira-code + nerd-fonts.fira-mono cozette noto-fonts-emoji inter roboto + vistafonts ]; services.logind = { 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; + }; +} diff --git a/packages/dwm/autostart.sh b/packages/dwm/autostart.sh index e7426c0..b2290aa 100755 --- a/packages/dwm/autostart.sh +++ b/packages/dwm/autostart.sh @@ -70,6 +70,7 @@ applications() { run "dwmblocks" dwmblocks; on_startup sidekick; + spew "thunderbird" thunderbird; #focus_tag 9; #on_startup :today; |
