|
@@ -1,15 +1,9 @@
|
|
|
{ inputs
|
|
{ inputs
|
|
|
, config
|
|
, config
|
|
|
|
|
+, pkgs
|
|
|
, ...
|
|
, ...
|
|
|
}:
|
|
}:
|
|
|
|
|
|
|
|
-let
|
|
|
|
|
- mkExtensionSettings = builtins.mapAttrs (_: pluginId: {
|
|
|
|
|
- install_url = "https://addons.mozilla.org/firefox/downloads/latest/${pluginId}/latest.xpi";
|
|
|
|
|
- installation_mode = "force_installed";
|
|
|
|
|
- });
|
|
|
|
|
-in
|
|
|
|
|
-
|
|
|
|
|
{
|
|
{
|
|
|
imports = [
|
|
imports = [
|
|
|
inputs.zen-browser.homeModules.beta
|
|
inputs.zen-browser.homeModules.beta
|
|
@@ -32,20 +26,23 @@ in
|
|
|
Cryptomining = true;
|
|
Cryptomining = true;
|
|
|
Fingerprinting = true;
|
|
Fingerprinting = true;
|
|
|
};
|
|
};
|
|
|
-
|
|
|
|
|
- ExtensionSettings = mkExtensionSettings {
|
|
|
|
|
- "{d7742d87-e61d-4b78-b8a1-b469842139fa}" = "vimium-ff";
|
|
|
|
|
- "[email protected]" = "ublock-origin";
|
|
|
|
|
- "{7be2ba16-0f1e-4d93-9ebc-5164397477a9}" = "videospeed";
|
|
|
|
|
- "addon@simplelogin" = "simplelogin";
|
|
|
|
|
- "[email protected]" = "alby";
|
|
|
|
|
- "[email protected]" = "darkreader";
|
|
|
|
|
- };
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
programs.zen-browser = {
|
|
programs.zen-browser = {
|
|
|
enable = true;
|
|
enable = true;
|
|
|
profiles."default" = {
|
|
profiles."default" = {
|
|
|
|
|
+ extensions.packages =
|
|
|
|
|
+ with inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system};
|
|
|
|
|
+ [
|
|
|
|
|
+ vimium
|
|
|
|
|
+ ublock-origin
|
|
|
|
|
+ videospeed
|
|
|
|
|
+ simplelogin
|
|
|
|
|
+ alby
|
|
|
|
|
+ darkreader
|
|
|
|
|
+ bitwarden
|
|
|
|
|
+ ];
|
|
|
|
|
+
|
|
|
containersForce = true;
|
|
containersForce = true;
|
|
|
containers = {
|
|
containers = {
|
|
|
Personal = {
|
|
Personal = {
|
|
@@ -62,35 +59,51 @@ in
|
|
|
|
|
|
|
|
Shopping = {
|
|
Shopping = {
|
|
|
color = "yellow";
|
|
color = "yellow";
|
|
|
- icon = "dollarsign";
|
|
|
|
|
|
|
+ icon = "gift";
|
|
|
id = 3;
|
|
id = 3;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ Video = {
|
|
|
|
|
+ color = "red";
|
|
|
|
|
+ icon = "chill";
|
|
|
|
|
+ id = 4;
|
|
|
|
|
+ };
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
- spacesForce = true;
|
|
|
|
|
|
|
+ # TODO: Figure out how to enable this.
|
|
|
|
|
+ # spacesForce = true;
|
|
|
spaces =
|
|
spaces =
|
|
|
let
|
|
let
|
|
|
containers = config.programs.zen-browser.profiles."default".containers;
|
|
containers = config.programs.zen-browser.profiles."default".containers;
|
|
|
in
|
|
in
|
|
|
{
|
|
{
|
|
|
- "Space" = {
|
|
|
|
|
- id = "c6de089c-410d-4206-961d-ab11f988d40a";
|
|
|
|
|
|
|
+ "Personal" = {
|
|
|
|
|
+ id = "{c6de089c-410d-4206-961d-ab11f988d40a}";
|
|
|
icon = "🏠";
|
|
icon = "🏠";
|
|
|
container = containers.Personal.id;
|
|
container = containers.Personal.id;
|
|
|
position = 1000;
|
|
position = 1000;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
"Work" = {
|
|
"Work" = {
|
|
|
- id = "cdd10fab-4fc5-494b-9041-325e5759195b";
|
|
|
|
|
|
|
+ id = "{cdd10fab-4fc5-494b-9041-325e5759195b}";
|
|
|
icon = "🚀";
|
|
icon = "🚀";
|
|
|
container = containers.Development.id;
|
|
container = containers.Development.id;
|
|
|
position = 2000;
|
|
position = 2000;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
"Shopping" = {
|
|
"Shopping" = {
|
|
|
- id = "78aabdad-8aae-4fe0-8ff0-2a0c6c4ccc24";
|
|
|
|
|
|
|
+ id = "{78aabdad-8aae-4fe0-8ff0-2a0c6c4ccc24}";
|
|
|
icon = "💸";
|
|
icon = "💸";
|
|
|
container = containers.Shopping.id;
|
|
container = containers.Shopping.id;
|
|
|
position = 3000;
|
|
position = 3000;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ "YouTube" = {
|
|
|
|
|
+ id = "{7cb56859-3be7-47de-9136-0faac58c5336}";
|
|
|
|
|
+ icon = "https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg";
|
|
|
|
|
+ container = containers.Video.id;
|
|
|
|
|
+ position = 4000;
|
|
|
|
|
+ };
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|
|
|
};
|
|
};
|