Home

dotnix @222df61ab762045233e3663e80c2dfd5c1cdb314 - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / gui / firefox.nix
- raw
 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
{pkgs, ...}: {
  programs.firefox = {
    enable = true;
    profiles.default = {
      search.default = "DuckDuckGo";
      search.force = true;
      extensions = with pkgs.nur.repos.rycee.firefox-addons; [
        bitwarden
        clearurls
        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://mynixos.com/";}
          {url = "https://github.com/";}
          {url = "https://git.jojodev.com/";}
        ];
        "browser.fixup.domainwhitelist.go" = true; # golink
      };
      bookmarks = [
        {
          name = "Toolbar";
          toolbar = true;
          bookmarks = [
            {
              name = "Gitea";
              bookmarks = [
                {
                  name = "github";
                  tags = ["gitea"];
                  keyword = "go-gitea";
                  url = "https://github.com/go-gitea/gitea";
                }
                {
                  name = "jojodev";
                  tags = ["gitea"];
                  keyword = "jojodev";
                  url = "https://git.jojodev.com";
                }
                {
                  name = "gist";
                  tags = ["gitea" "gist"];
                  keyword = "gist";
                  url = "https://gist.jojodev.com";
                }
                {
                  name = "gitea";
                  tags = ["gitea"];
                  keyword = "gitea";
                  url = "https://about.gitea.com";
                }
                {
                  name = "try";
                  tags = ["gitea"];
                  keyword = "try";
                  url = "https://try.gitea.io";
                }
              ];
            }
            {
              name = "Tailnet";
              bookmarks = [
                {
                  name = "golink";
                  tags = ["tailscale"];
                  keyword = "go";
                  url = "http://go";
                }
                {
                  name = "tclip";
                  tags = ["tailscale"];
                  keyword = "paste";
                  url = "http://paste";
                }
              ];
            }
          ];
        }
        {
          name = "Go Playground";
          tags = ["golang"];
          keyword = "play";
          url = "https://go.dev/play/";
        }
      ];
    };
  };
}