Home

dotnix @main - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
tree log patch
update bookmarks
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQCiOLRmGdBiuNMU5hM1nyMjJPPEwOC6J6bn7H/2JMY/DtuWZxRNgjWWftyWzY5DxpE Fga+46ONKOhlTr8DJfvg0= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
1 month ago
1 changed files, 68 additions(+), 31 deletions(-)
apps/gui/firefox.nix
M apps/gui/firefox.nixapps/gui/firefox.nix
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
diff --git a/apps/gui/firefox.nix b/apps/gui/firefox.nix
index 07d160cba757ddff293c6863076b35de627153d0..6f2869d1b4a699e7df0d3c530a1d98a7744c55d9 100644
--- a/apps/gui/firefox.nix
+++ b/apps/gui/firefox.nix
@@ -1,4 +1,22 @@
 { pkgs, ... }:
+let
+  tailnet = [
+    "go"
+    "paste"
+    "git"
+    "cfg"
+    "jellyfin"
+    "sonarr"
+    "radarr"
+    "bazarr"
+    "prowlarr"
+    "files"
+    "privserve"
+    "pubserve"
+    "img"
+    "monit"
+  ];
+in
 {
   programs.firefox = {
     enable = true;
@@ -50,37 +68,36 @@         multi-account-containers
         refined-github
         ublock-origin
       ];
-      settings = {
-        "app.update.auto" = false;
-        "signon.rememberSignons" = false;
-        "browser.formfill.enable" = false;
-        "browser.tabs.firefox-view" = false;
-        "browser.aboutConfig.showWarning" = false;
-        "browser.bookmarks.addedImportButton" = false;
-        "extensions.pocket.enabled" = false;
-        "browser.newtabpage.activity-stream.feeds.section.topstories" = false;
-        "browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
-        "browser.newtabpage.pinned" = builtins.toJSON [
-          {
-            url = "https://github.com/";
-            label = "github";
-          }
-          {
-            url = "https://git.jolheiser.com";
-            label = "ugit";
-          }
-        ];
-        # tailscale apps
-        "browser.fixup.domainwhitelist.go" = true;
-        "browser.fixup.domainwhitelist.git" = true;
-        "browser.fixup.domainwhitelist.paste" = true;
-        "browser.fixup.domainwhitelist.radarr" = true;
-        "browser.fixup.domainwhitelist.sonarr" = true;
-        "browser.fixup.domainwhitelist.jellyfin" = true;
-        "browser.fixup.domainwhitelist.files" = true;
-        "browser.fixup.domainwhitelist.pubserve" = true;
-        "browser.fixup.domainwhitelist.privserve" = true;
-      };
+      settings =
+        {
+          "app.update.auto" = false;
+          "signon.rememberSignons" = false;
+          "browser.formfill.enable" = false;
+          "browser.tabs.firefox-view" = false;
+          "browser.aboutConfig.showWarning" = false;
+          "browser.bookmarks.addedImportButton" = false;
+          "extensions.pocket.enabled" = false;
+          "browser.newtabpage.activity-stream.feeds.section.topstories" = false;
+          "browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
+          "browser.newtabpage.pinned" = builtins.toJSON [
+            {
+              url = "https://github.com/";
+              label = "github";
+            }
+            {
+              url = "https://git.jolheiser.com";
+              label = "ugit";
+            }
+          ];
+        }
+        //
+        # Tailscale apps
+        (builtins.listToAttrs (
+          builtins.map (app: {
+            name = "browser.fixup.domainwhitelist.${app}";
+            value = true;
+          }) tailnet
+        ));
       bookmarks = {
         force = true;
         settings = [
@@ -146,6 +163,26 @@                       "tailscale"
                     ];
                     keyword = "cfg";
                     url = "https://cfg";
+                  }
+                  {
+                    name = "beszel";
+                    tags = [
+                      "beszel"
+                      "monit"
+                      "tailscale"
+                    ];
+                    keyword = "monit";
+                    url = "https://monit";
+                  }
+                  {
+                    name = "MAZANOKE";
+                    tags = [
+                      "mazanoke"
+                      "img"
+                      "tailscale"
+                    ];
+                    keyword = "img";
+                    url = "http://img";
                   }
                   {
                     name = "media";