home
This commit is contained in:
parent
ee9c1366a9
commit
5d88fe7b77
12 changed files with 289 additions and 97 deletions
|
|
@ -15,7 +15,7 @@
|
|||
./clipman.nix
|
||||
./common.nix
|
||||
./direnv.nix
|
||||
./firefox.nix
|
||||
# ./firefox.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
|
|
|
|||
|
|
@ -1,5 +1,9 @@
|
|||
{ config, pkgs, ...}: {
|
||||
home = {
|
||||
sessionVariables = {
|
||||
ELECTRON_OZONE_PLATFORM_HINT = "wayland";
|
||||
};
|
||||
|
||||
file.inbox.source = config.lib.file.mkOutOfStoreSymlink "/home/lilith/sync/inbox";
|
||||
|
||||
shellAliases = {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,75 @@
|
|||
{zen-browser, ...}: {
|
||||
home.packages = [ zen-browser.packages.specific ];
|
||||
{zen-browser, system, pkgs, lib, ...}: {
|
||||
imports = [ zen-browser.homeManagerModules.zen-browser ];
|
||||
|
||||
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
|
||||
];
|
||||
|
||||
policies = {
|
||||
Homepage = {
|
||||
URL = "https://duckduckgo.com";
|
||||
StartPage = "homepage";
|
||||
};
|
||||
|
||||
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";
|
||||
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue