56 lines
2.2 KiB
Nix
56 lines
2.2 KiB
Nix
{ config, pkgs, inputs, ... }:
|
|
let
|
|
username = "cookiez";
|
|
in
|
|
{
|
|
#Copy from https://github.com/0x006E/dotfiles/blob/main/home.nix
|
|
zen-browser = {
|
|
enable = true;
|
|
package = inputs.zen-browser.packages.${pkgs.system}.default;
|
|
profiles = {
|
|
${username} = {
|
|
id = 0;
|
|
name = "${username}";
|
|
# profileAvatarPath = "chrome://browser/content/zen-avatars/avatar-57.svg";
|
|
path = "${username}.default";
|
|
isDefault = true;
|
|
settings = {
|
|
|
|
};
|
|
};
|
|
};
|
|
policies = {
|
|
PasswordManagerEnabled = false;
|
|
ExtensionSettings =
|
|
with builtins;
|
|
let
|
|
extension = shortId: uuid: {
|
|
name = uuid;
|
|
value = {
|
|
install_url = "https://addons.mozilla.org/en-US/firefox/downloads/latest/${shortId}/latest.xpi";
|
|
installation_mode = "normal_installed";
|
|
};
|
|
};
|
|
in
|
|
listToAttrs [
|
|
(extension "ublock-origin" "uBlock0@raymondhill.net")
|
|
(extension "bitwarden-password-manager" "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
|
#(extension "2fas-two-factor-authentication" "admin@2fas.com")
|
|
(extension "sponsorblock" "sponsorBlocker@ajay.app")
|
|
#(extension "dearrow" "deArrow@ajay.app")
|
|
#(extension "enhancer-for-youtube" "enhancerforyoutube@maximerf.addons.mozilla.org")
|
|
#(extension "tabliss" "extension@tabliss.io")
|
|
#(extension "don-t-fuck-with-paste" "DontFuckWithPaste@raim.ist")
|
|
#(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
|
|
#(extension "react-devtools" "@react-devtools")
|
|
(extension "keepa" "amptra@keepa.com")
|
|
];
|
|
# To add additional extensions, find it on addons.mozilla.org, find
|
|
# the short ID in the url (like https=//addons.mozilla.org/en-US/firefox/addon/!SHORT_ID!/)
|
|
# Then, download the XPI by filling it in to the install_url template, unzip it,
|
|
# run `jq .browser_specific_settings.gecko.id manifest.json` or
|
|
# `jq .applications.gecko.id manifest.json` to get the UUID
|
|
};
|
|
};
|
|
}
|