119 lines
4.2 KiB
Nix
119 lines
4.2 KiB
Nix
{
|
|
inputs, ... }:
|
|
|
|
{
|
|
programs.firefox = {
|
|
enable = true;
|
|
profiles.joy = {
|
|
search.engines = {
|
|
"4get" = {
|
|
urls = [{
|
|
template = "https://4get.ch/web";
|
|
params = [
|
|
{ name = "s"; value = "{searchTerms}"; }
|
|
];
|
|
}];
|
|
definedAliases = [ "@4get" ];
|
|
};
|
|
};
|
|
search.force = true;
|
|
search.default = "4get";
|
|
|
|
bookmarks = [{
|
|
name = "Nix sites";
|
|
toolbar = true;
|
|
bookmarks = [
|
|
{ name = "Packages"; url = "https://search.nixos.org/packages?channel=unstable"; }
|
|
{ name = "Homemanager"; url = "https://nix-community.github.io/home-manager/options.xhtml"; }
|
|
{ name = "Stylix"; url = "https://stylix.danth.me/options/nixos.html"; }
|
|
{ name = "Socials Joy"; url = "https://joygnu.org/"; }
|
|
{ name = "Wallpapers"; url = "https://wallpapers.joygnu.org/"; }
|
|
{ name = "Server"; url = "https://avoro.eu/cp/clientarea.php?action=productdetails&id=27920"; }
|
|
{ name = "Domain"; url = "https://registrar.epik.com/domain-management/host-records"; }
|
|
{ name = "Translate"; url = "https://simplytranslate.org/"; }
|
|
{ name = "Syncthing"; url = "http://localhost:8384/"; }
|
|
{ name = "GitHub"; url = "https://github.com/"; }
|
|
{ name = "Codeberg"; url = "https://codeberg.org/"; }
|
|
{ name = "Startpage"; url = "https://www.startpage.com/"; }
|
|
{ name = "DuckDuckGo"; url = "https://duckduckgo.com/"; }
|
|
{ name = "Gamepad Tester"; url = "https://gamepad-tester.com/"; }
|
|
{ name = "Zophar's Domain"; url = "https://www.zophar.net/music"; }
|
|
{ name = "Cmus Playlist Guide"; url = "https://unix.stackexchange.com/questions/328856/how-can-i-create-a-playlist-and-add-songs-to-it-in-cmus"; }
|
|
{ name = "Spotify Downloader"; url = "https://spotdl.io/"; }
|
|
];
|
|
}];
|
|
|
|
settings = {
|
|
"dom.security.https_only_mode" = true;
|
|
"browser.download.panel.shown" = true;
|
|
"identity.fxaccounts.enabled" = false;
|
|
"signon.rememberSignons" = false;
|
|
"browser.urlbar.pocket.featureGate" = false;
|
|
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
|
|
"browser.shell.checkDefaultBrowser" = false;
|
|
"browser.shell.defaultBrowserCheckCount" = 1;
|
|
"browser.startup.homepage" = "moz-extension://f3ba075e-5213-4eca-b67c-470714db5333/index.html";
|
|
"privacy.trackingprotection.enabled" = true;
|
|
"browser.uiCustomization.state" =
|
|
''
|
|
{
|
|
"placements": {
|
|
"widget-overflow-fixed-list": [],
|
|
"nav-bar": [
|
|
"back-button",
|
|
"forward-button",
|
|
"stop-reload-button",
|
|
"urlbar-container",
|
|
"downloads-button",
|
|
"library-button",
|
|
"ublock0_raymondhill_net-browser-action",
|
|
"addon_darkreader_org-browser-action",
|
|
"_testpilot-containers-browser-action"
|
|
],
|
|
"toolbar-menubar": [
|
|
"menubar-items"
|
|
],
|
|
"TabsToolbar": [
|
|
"tabbrowser-tabs",
|
|
"new-tab-button",
|
|
"alltabs-button"
|
|
],
|
|
"PersonalToolbar": [
|
|
"import-button",
|
|
"personal-bookmarks"
|
|
]
|
|
},
|
|
"seen": [
|
|
"save-to-pocket-button",
|
|
"developer-button",
|
|
"ublock0_raymondhill_net-browser-action",
|
|
"addon_darkreader_org-browser-action",
|
|
"_testpilot-containers-browser-action"
|
|
],
|
|
"dirtyAreaCache": [
|
|
"nav-bar",
|
|
"PersonalToolbar",
|
|
"toolbar-menubar",
|
|
"TabsToolbar",
|
|
"widget-overflow-fixed-list"
|
|
],
|
|
"currentVersion": 18,
|
|
"newElementCount": 4
|
|
}
|
|
'';
|
|
|
|
};
|
|
|
|
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
|
|
ublock-origin
|
|
darkreader
|
|
libredirect
|
|
search-by-image
|
|
decentraleyes
|
|
];
|
|
|
|
};
|
|
};
|
|
}
|
|
|