dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
modules/apps/internet.nix (2701B)
1## Internet Apps Configuration ##
2{config, ...}: let
3 inherit (config) util;
4in {
5 flake.modules.homeManager.internet = {
6 config,
7 lib,
8 pkgs,
9 ...
10 }: {
11 programs = {
12 # Browser
13 brave = {
14 enable = true;
15 extensions =
16 [
17 "djflhoibgkdhkhhcedjiklpkjnoahfmg" # User Agent Switcher
18 "lckanjgmijmafbedllaakclkaicjfmnk" # ClearURLs
19 "oofgbpoabipfcfjapgnbbjjaenockbdp" # SetupVPN
20 "jghecgabfgfdldnmbfkhmffcabddioke" # Volume Booster
21 "jaioibhbkffompljnnipmpkeafhpicpd" # Tab Auto Refresh
22 "eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark Reader
23 "clngdbkpkpeebahjckkjfobafhncgmne" # Stylus
24 ]
25 # KeePassXC
26 ++ lib.optional config.programs.keepassxc.enable "oboonakemofpalcgghocfoadofidjkkk";
27 nativeMessagingHosts =
28 lib.optional config.programs.keepassxc.enable
29 (pkgs.writeTextDir
30 "etc/chromium/native-messaging-hosts/org.keepassxc.keepassxc_browser.json"
31 (builtins.toJSON {
32 name = "org.keepassxc.keepassxc_browser";
33 description = "KeePassXC integration with native messaging support";
34 path = "${pkgs.keepassxc}/bin/keepassxc-proxy";
35 type = "stdio";
36 allowed_origins = [
37 "chrome-extension://oboonakemofpalcgghocfoadofidjkkk/"
38 "chrome-extension://pdffhmdngciaglkoonimfcmckehcpafo/"
39 ];
40 }));
41 };
42
43 # Mail Client
44 thunderbird = {
45 enable = true;
46 package = pkgs.custom.betterbird;
47 profiles.default = {
48 isDefault = true;
49 extensions = [pkgs.custom.thunderbird-tools-ng];
50 settings = {
51 "extensions.autoDisableScopes" = 0;
52 "mail.biff.show_tray_icon" = true;
53 "mail.biff.show_tray_icon_always" = true;
54 "mail.minimizeToTray" = true;
55 "mail.closeToTray" = true;
56 };
57 };
58 };
59 };
60
61 xdg.mimeApps.defaultApplications = util.build.mime {
62 mail = ["thunderbird.desktop"];
63 };
64
65 home = {
66 packages = with pkgs; [
67 linux-wifi-hotspot
68 openfortivpn
69 teams-for-linux
70 zapzap
71 zoom-us
72 ];
73
74 persist = {
75 files = [".config/zoomus.conf"];
76 directories = [
77 ".config/BraveSoftware"
78 ".cache/BraveSoftware"
79 ".config/teams-for-linux"
80 ".thunderbird"
81 ".cache/thunderbird"
82 ".config/ZapZap"
83 ".local/share/ZapZap"
84 ".cache/ZapZap"
85 ".zoom"
86 ".cache/zoom"
87 ];
88 };
89 };
90 };
91}