feat(browser): autocontain configuration for tridactyl
This commit is contained in:
@@ -13,6 +13,23 @@
|
||||
id = 3;
|
||||
};
|
||||
};
|
||||
extensions.settings = {
|
||||
"tridactyl.vim@cmcaine.co.uk".settings = {
|
||||
userconfig = {
|
||||
autocontain = let
|
||||
containers = config.programs.zen-browser.profiles."default".containers;
|
||||
in
|
||||
lib.concatMapAttrs (n: v: {
|
||||
"^https?://[^/]*\"${n}\"/" = v;
|
||||
"^https?://[^/]*\"www.${n}\"/" = v;
|
||||
"^https?://([^/]*\\.|)${n}\\.com/" = v;
|
||||
}) {
|
||||
"linkedin.com" = containers."Job".name;
|
||||
};
|
||||
autocontainmode = "relaxed";
|
||||
};
|
||||
};
|
||||
};
|
||||
# modsForce = true;
|
||||
# mods = let
|
||||
# store = inputs.zen-theme-store;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
imports = [
|
||||
../guz-lite/default.nix
|
||||
|
||||
./browser.nix
|
||||
./apps.nix
|
||||
./browser.nix
|
||||
];
|
||||
|
||||
# The *state version* indicates which default
|
||||
|
||||
Reference in New Issue
Block a user