nichts/alt/modules/web/schizofox.nix
2024-04-09 23:11:33 +02:00

72 lines
1.6 KiB
Nix
Executable file

{ pkgs, inputs, ... }: {
#imports = [ inputs.schizofox.homeManagerModule ];
programs.schizofox = {
enable = true;
theme = {
colors = {
background-darker = "181825";
background = "1e1e2e";
foreground = "cdd6f4";
};
font = "Lexend";
extraUserChrome = ''
body {
color: red !important;
}
.urlbarView {
display: none !important;
}
'';
};
search = {
defaultSearchEngine = "Brave";
removeEngines = ["Google" "Bing" "Amazon.com" "eBay" "Twitter" "Wikipedia"];
searxUrl = "https://searx.be";
searxQuery = "https://searx.be/search?q={searchTerms}&categories=general";
addEngines = [
{
Name = "Etherscan";
Description = "Checking balances";
Alias = "!eth";
Method = "GET";
URLTemplate = "https://etherscan.io/search?f=0&q={searchTerms}";
}
];
};
security = {
sanitizeOnShutdown = false;
sandbox = true;
userAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0";
};
misc = {
drmFix = true;
disableWebgl = false;
#startPageURL = "file://${builtins.readFile ./startpage.html}";
};
extensions = {
simplefox.enable = true;
darkreader.enable = true;
extraExtensions = {
"webextension@metamask.io".install_url = "https://addons.mozilla.org/firefox/downloads/latest/ether-metamask/latest.xpi";
};
};
misc.bookmarks = [
#{
# Title = "Example";
# URL = "https://example.com";
# Favicon = "https://example.com/favicon.ico";
# Placement = "toolbar";
# Folder = "FolderName";
#}
];
};
}