zen
This commit is contained in:
parent
d6313c6cb1
commit
f3721e14bb
7 changed files with 143 additions and 74 deletions
|
|
@ -1,74 +1,48 @@
|
|||
{zen-browser, system, pkgs, lib, ...}: {
|
||||
{
|
||||
zen-browser,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ zen-browser.homeManagerModules.zen-browser ];
|
||||
|
||||
home.file.".mozilla/native-messaging-hosts".source = lib.mkForce "/home/lilith/.mozilla/native-messaging-hosts";
|
||||
home.file.".mozilla/native-messaging-hosts".source =
|
||||
lib.mkForce /home/lilith/.mozilla/native-messaging-hosts;
|
||||
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
|
||||
nativeMessagingHosts = with pkgs; [
|
||||
tridactyl-native
|
||||
keepassxc
|
||||
];
|
||||
nativeMessagingHosts = lib.mkForce (
|
||||
with pkgs;
|
||||
[
|
||||
tridactyl-native
|
||||
keepassxc
|
||||
]
|
||||
);
|
||||
|
||||
policies = {
|
||||
Homepage = {
|
||||
URL = "https://duckduckgo.com";
|
||||
StartPage = "homepage";
|
||||
profiles.lilith = {
|
||||
id = 0;
|
||||
name = "Lilith";
|
||||
isDefault = true;
|
||||
|
||||
search = {
|
||||
force = true;
|
||||
default = "DuckDuckGo";
|
||||
privateDefault = "DuckDuckGo";
|
||||
order = [ "DuckDuckGo" ];
|
||||
};
|
||||
|
||||
DisablePocket = true;
|
||||
DisableFirefoxAccounts = true;
|
||||
DisableAccounts = true;
|
||||
DisableFormHistory = true;
|
||||
OfferToSaveLogins = false;
|
||||
PasswordManagerEnabled = false;
|
||||
|
||||
DisableSetDesktopBackground = true;
|
||||
DisableTelemetry = true;
|
||||
DisableFirefoxScreenshots = true;
|
||||
|
||||
OverrideFirstRunPage = "https://duckduckgo.com";
|
||||
OverridePostUpdatePage = "https://duckduckgo.com";
|
||||
NewTabPage = false;
|
||||
|
||||
DontCheckDefaultBrowser = true;
|
||||
DisplayBookmarksToolbar = "never";
|
||||
|
||||
SearchBar = "unified";
|
||||
SearchSuggestEnabled = false;
|
||||
DownloadDirectory = "/home/lilith/sync/inbox";
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
keepassxc-browser
|
||||
tridactyl
|
||||
];
|
||||
|
||||
ExtensionSettings = {
|
||||
# uBlock Origin:
|
||||
"uBlock0@raymondhill.net" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
|
||||
"keepassxc-browser@keepassxc.org" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/keepassxc-browser/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
|
||||
"sponsorBlocker@ajay.app" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/file/4292214/sponsorblock-5.6.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
|
||||
"tridactyl.vim@cmcaine.co.uk" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/file/4261352/tridactyl_vim-1.24.1.xpi";
|
||||
installation_mode = "force_installed";
|
||||
};
|
||||
};
|
||||
|
||||
SearchEngines = {
|
||||
Default = "DuckDuckGo";
|
||||
};
|
||||
|
||||
Preferences = {
|
||||
"browser.newtab.extensionControlled" = false;
|
||||
"browser.translations.neverTranslateLanguages" = true;
|
||||
settings = {
|
||||
"zen.experimental-no-window-controls" = true;
|
||||
"zen.sidebar.data" = "";
|
||||
"browser.translations.automaticallyPopup" = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue